I have correctly installed AD sync to our server and it syncs with office365.<\/p>\n
All the users that only had 1 email @company.com<\/span> moved over correctly and are syncing with on premises.<\/p>\n
However all the users with aliases did not move over correctly and got a onmicrosoft.com<\/a> account on office365.<\/p>\n After going through the forums i found that I need to add their aliases to the attributes tab, which I have now done correctly for all users. I manually removed all the incorrect onmicrosoft accounts and ran another sync.<\/p>\n For some crazy reason it is still not syncing the correct account and creates another default onmicrosoft account.<\/p>\n Is there something i am missing?<\/p>","upvoteCount":8,"answerCount":30,"datePublished":"2019-01-28T08:37:28.000Z","author":{"@type":"Person","name":"stichguy","url":"https://community.spiceworks.com/u/stichguy"},"suggestedAnswer":[{"@type":"Answer","text":" I have correctly installed AD sync to our server and it syncs with office365.<\/p>\n All the users that only had 1 email @company.com<\/span> moved over correctly and are syncing with on premises.<\/p>\n However all the users with aliases did not move over correctly and got a onmicrosoft.com<\/a> account on office365.<\/p>\n After going through the forums i found that I need to add their aliases to the attributes tab, which I have now done correctly for all users. I manually removed all the incorrect onmicrosoft accounts and ran another sync.<\/p>\n For some crazy reason it is still not syncing the correct account and creates another default onmicrosoft account.<\/p>\n Is there something i am missing?<\/p>","upvoteCount":8,"datePublished":"2019-01-28T08:37:28.000Z","url":"https://community.spiceworks.com/t/ad-sync-creating-onmicrosoft-accounts/694619/1","author":{"@type":"Person","name":"stichguy","url":"https://community.spiceworks.com/u/stichguy"}},{"@type":"Answer","text":" Is the UPN for the user a .local The UPN is @company.com<\/span>.<\/p>\n The attributes to proxyaddress have been done correctly with SMTP going to primary address and smtp for the aliases.<\/p>\n It still creates the onmicrosoft.com<\/a> accounts.<\/p>","upvoteCount":0,"datePublished":"2019-01-28T12:11:06.000Z","url":"https://community.spiceworks.com/t/ad-sync-creating-onmicrosoft-accounts/694619/3","author":{"@type":"Person","name":"stichguy","url":"https://community.spiceworks.com/u/stichguy"}},{"@type":"Answer","text":" In ADUC, Account tab, is @domain.com<\/span> selected in the dropdown box to the right of the User Logon Name?<\/p>","upvoteCount":0,"datePublished":"2019-01-28T12:59:05.000Z","url":"https://community.spiceworks.com/t/ad-sync-creating-onmicrosoft-accounts/694619/4","author":{"@type":"Person","name":"da-schmoo","url":"https://community.spiceworks.com/u/da-schmoo"}},{"@type":"Answer","text":" yes @domain.com<\/span> is selected<\/p>\n It is as if I need to completely remove either the AD account or the email on 0365.<\/p>\n i have completely removed the onmicrosoft account with powershell, removed from recycle bin. Removed all aliases from [email protected]<\/a><\/p>\n
\nDomain?
\nThe attributes ProxyAddress, make sure you have a default smtp address with a routable domain. The default address should have uppercase lettering, for example SMTP:[email protected]<\/a><\/p>","upvoteCount":0,"datePublished":"2019-01-28T11:19:43.000Z","url":"https://community.spiceworks.com/t/ad-sync-creating-onmicrosoft-accounts/694619/2","author":{"@type":"Person","name":"ben146","url":"https://community.spiceworks.com/u/ben146"}},{"@type":"Answer","text":"