terrybuck9
asked on
password sync office 365 created duplicate users
Hi
I have just setup Password sync in office 365.
I have 24 users.
Half of them have synced ok, but the rest have not.
And duplicate users have been created in office 365, with the username and a 4 digit number after. e.g. Andrew9383 for user Andrew
Thanks Terry
I have just setup Password sync in office 365.
I have 24 users.
Half of them have synced ok, but the rest have not.
And duplicate users have been created in office 365, with the username and a 4 digit number after. e.g. Andrew9383 for user Andrew
Thanks Terry
ASKER
Hi thanks for response.
Yes I had all the accounts already on 365.
It has matched up half of them and reset the 365 passwords to the same as active directory. And all these now say "Synced with active directory"
When you say delete the duplicate, do you mean delete the new duplicate as I cant delete the old one as its live and has all their emails?
Thanks Terry
Yes I had all the accounts already on 365.
It has matched up half of them and reset the 365 passwords to the same as active directory. And all these now say "Synced with active directory"
When you say delete the duplicate, do you mean delete the new duplicate as I cant delete the old one as its live and has all their emails?
Thanks Terry
Yes, the new ones, userXXXX. Just make sure that the UPN/primarySMTP/mail attribute of the users in the local AD match with those in the cloud. After you remove the duplicate ones (you can use the remove-msoluser cmdlet, but dont forget to remove them from the recycle bin in the cloud too), the on-prem and cloud accounts should be matched.
If it still doesnt work, check if any of the unmatched cloud user have the immutableID already populated.
If it still doesnt work, check if any of the unmatched cloud user have the immutableID already populated.
ASKER
great thanks for info, can I just delete them in "Users and Groups" as I am not familiar yet in Azure stuff?
terry
terry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes all looking good, not difficult to get your head round.
Done 1 user and she is all ok now.
Just doing the rest.
thanks again.
Terry
Done 1 user and she is all ok now.
Just doing the rest.
thanks again.
Terry
ASKER
Hi all done and working.
While doing this I constantly ran the config wizard to get it to sync.
Is this ok? or is there a better way of forcing a sync. I tried set-fullpasswordsync but it said invalid cmdlet.
thanks Terry
While doing this I constantly ran the config wizard to get it to sync.
Is this ok? or is there a better way of forcing a sync. I tried set-fullpasswordsync but it said invalid cmdlet.
thanks Terry
Yeah, you can do it via PowerShell. Navigate to the dirsync install directory (C:\Program Files\Windows Azure Active Directory Sync\ or similar), run DirSyncConfigShell.psc1 and when the shell opens, run the following cmdlet:
The above cmdlet is for forcing object sync, i.e. new users. If you want to force the password sync as well, use the Set-FullPasswordSync cmdlet in the shell window. You will need to restart the Forefront Identity Manager Synchronization Service as well.
For more info see here:
http://social.technet.microsoft.com/wiki/contents/articles/18096.dirsyncwindows-azure-ad-password-sync-frequently-asked-questions.aspx#How_can_I_trigger_a_full_password_sync
Start-OnlineCoexistenceSync
The above cmdlet is for forcing object sync, i.e. new users. If you want to force the password sync as well, use the Set-FullPasswordSync cmdlet in the shell window. You will need to restart the Forefront Identity Manager Synchronization Service as well.
For more info see here:
http://social.technet.microsoft.com/wiki/contents/articles/18096.dirsyncwindows-azure-ad-password-sync-frequently-asked-questions.aspx#How_can_I_trigger_a_full_password_sync
ASKER
Great thanks, I was using the wrong shell.
thanks Terry
thanks Terry
ASKER
Great thanks
First of all, check the dirsync error log which you should have received by mail, and use the articles below to locate, match or exclude the corresponding objects:
http://support.microsoft.com/kb/2520976
http://support.microsoft.com/kb/2641663
http://technet.microsoft.com/en-us/library/jj710171.aspx