Hey everyone, I’ve done a lot of reading the past 24 hours about this and still not sure what to do so hoping I can get some clarification on how to best implement local AD sync with Office 365.<\/p>\n
Background information:<\/p>\n
We acquired a company with an existing local domain being managed by a third party firm. They already migrated away from Exchange some time ago and only use Office 365 for email, no exchange server. They have bad password habits/rules and were never required to change their passwords. Users don’t even know their Office 365 passwords as they were set up in Outlook for them by the third party.<\/p>\n
I’ve been tasked with getting their local AD accounts synced up with their Office 365 mailboxes so they can use the same password to sign on to both using new rules and then we will move forward with enabling 2FA.<\/p>\n
I understand that I can create a group of users and have only those sync, but what I don’t understand how that works with the existing mailbox accounts on Office 365. Will it link the user based on a profile setting?<\/p>\n
Our primary focus is to get them using their AD password on their Office 365 account. Will the initial sync overwrite existing Office 365 passwords?<\/p>\n
I have installed Azure AD connect but have not yet enabled sync.<\/p>\n
Thanks in advance.<\/p>","upvoteCount":7,"answerCount":15,"datePublished":"2019-03-14T20:45:29.000Z","author":{"@type":"Person","name":"chrispeterson3258","url":"https://community.spiceworks.com/u/chrispeterson3258"},"suggestedAnswer":[{"@type":"Answer","text":"
Hey everyone, I’ve done a lot of reading the past 24 hours about this and still not sure what to do so hoping I can get some clarification on how to best implement local AD sync with Office 365.<\/p>\n
Background information:<\/p>\n
We acquired a company with an existing local domain being managed by a third party firm. They already migrated away from Exchange some time ago and only use Office 365 for email, no exchange server. They have bad password habits/rules and were never required to change their passwords. Users don’t even know their Office 365 passwords as they were set up in Outlook for them by the third party.<\/p>\n
I’ve been tasked with getting their local AD accounts synced up with their Office 365 mailboxes so they can use the same password to sign on to both using new rules and then we will move forward with enabling 2FA.<\/p>\n
I understand that I can create a group of users and have only those sync, but what I don’t understand how that works with the existing mailbox accounts on Office 365. Will it link the user based on a profile setting?<\/p>\n
Our primary focus is to get them using their AD password on their Office 365 account. Will the initial sync overwrite existing Office 365 passwords?<\/p>\n
I have installed Azure AD connect but have not yet enabled sync.<\/p>\n
Thanks in advance.<\/p>","upvoteCount":7,"datePublished":"2019-03-14T20:45:29.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/1","author":{"@type":"Person","name":"chrispeterson3258","url":"https://community.spiceworks.com/u/chrispeterson3258"}},{"@type":"Answer","text":"
Your local AD passwords will sync up and replace their 365 passwords (if they have any set currently). When changing passwords moving forward, you’ll want to change them locally and have them sync up to 365, as a best practice.<\/p>","upvoteCount":5,"datePublished":"2019-03-14T20:54:14.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/2","author":{"@type":"Person","name":"dimforest","url":"https://community.spiceworks.com/u/dimforest"}},{"@type":"Answer","text":"
Yes that’s what we want for them. Local password change syncing to 365. Are there any gotchas with getting their AD accounts mapped to the existing mail accounts? Or is it all “automagic”? Does something need to match like username or email address field?<\/p>","upvoteCount":1,"datePublished":"2019-03-14T20:56:44.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/3","author":{"@type":"Person","name":"chrispeterson3258","url":"https://community.spiceworks.com/u/chrispeterson3258"}},{"@type":"Answer","text":"
Make sure their email, samaccountname, and probably the main SMTP proxyaddresses entry in the user object matches and you should be set. Really I think you only need to match samaccountname to make it, though.<\/p>","upvoteCount":0,"datePublished":"2019-03-14T21:01:49.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/4","author":{"@type":"Person","name":"dimforest","url":"https://community.spiceworks.com/u/dimforest"}},{"@type":"Answer","text":"
It uses the UserPrincipalName (UPN) to sync, and will fallback to samaccountname if it can’t find a match.<\/p>\n
Like Dim said, make sure to have all the proxy addresses setup in the user attributes in AD as well<\/p>\n
Then let 'er rip!<\/p>","upvoteCount":0,"datePublished":"2019-03-14T22:22:40.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/5","author":{"@type":"Person","name":"matthart5","url":"https://community.spiceworks.com/u/matthart5"}},{"@type":"Answer","text":"
make sure your emails are filled in correctly in AD too. i had a problem where if i didn’t fill in the SMTP areas in the AD it wouldn’t replicate correctly to office 365,<\/p>","upvoteCount":0,"datePublished":"2019-03-15T10:42:03.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/6","author":{"@type":"Person","name":"deanmoncaster","url":"https://community.spiceworks.com/u/deanmoncaster"}},{"@type":"Answer","text":"
Great, thanks for the responses! I’ll dig through the user accounts and verify. Fortunately they only have about 35 users. Do I need to be concerned about setting up any filters beyond just filtering based on the group that I intend to sync or just leave all the default settings for sync?<\/p>","upvoteCount":0,"datePublished":"2019-03-15T13:15:07.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/7","author":{"@type":"Person","name":"chrispeterson3258","url":"https://community.spiceworks.com/u/chrispeterson3258"}},{"@type":"Answer","text":"
The one BIG gotcha occurs with the email address, as defined, or not defined, in the account Attributes Editor - ProxyAddress. If the O365 email address is different from the AD user logon and/or the ProxyAddress, you will either get duplicate accounts in O365 or a failed sync. Just make sure that before you sync that the ProxyAddress is the same as the primary O365 email (make sure to include the SMTP: prefix in all caps when specifying the ProxyAddress.) address and that the AD user logon is the same as the O365 logon. Whatever is listed as the SMTP:[email protected]<\/a> will be the primary email address for that account.<\/p>","upvoteCount":0,"datePublished":"2019-03-15T17:08:21.000Z","url":"https://community.spiceworks.com/t/need-advice-on-ad-sync-to-existing-office-365/702400/8","author":{"@type":"Person","name":"johnaboud3743","url":"https://community.spiceworks.com/u/johnaboud3743"}},{"@type":"Answer","text":" Not sure how I missed your response. This project got sidetracked, but now I’m looking at it again. So what happens if there are multiple entries in the proxyAddresses?<\/p>\n Looking at a user right now and this is what is in that attribute:<\/p>\n smtp:[email protected]<\/a> (external email address/domain)<\/p>\n smtp:[email protected] (internal domain name)<\/p>\n SMTP:[email protected]<\/a><\/p>\n In office 365, [email protected]<\/a> is his username/email address with [email protected]<\/a> as an alias.<\/p>\n Thanks<\/p>\n