Solved

password sync office 365 created duplicate users

Posted on 2014-03-18
10
1,075 Views
Last Modified: 2014-03-22
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
0
Comment
Question by:terrybuck9
  • 6
  • 4
10 Comments
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 39938893
You probably had the same accounts added already. You can either remove the duplicate accounts or configure filtering to exclude the on-prem account from synchronization.

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
0
 

Author Comment

by:terrybuck9
ID: 39939006
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
0
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 39939184
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.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:terrybuck9
ID: 39939282
great thanks for info, can I just delete them in "Users and Groups" as I am not familiar yet in Azure stuff?

terry
0
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 39939286
If they are synchronized from local AD, you will be unable to delete the from the Office 365 portal. You will have to use the WAAD PowerShell module:  

http://technet.microsoft.com/en-us/library/jj151815.aspx

The cmdlet you will need to actually remove the users is Remove-MsolUser:

http://technet.microsoft.com/en-us/library/dn194132.aspx

Take a look at the examples there on how to use it, and remember to delete the users also from the recycle bin (examples 1 and 3 in the article)
0
 

Author Comment

by:terrybuck9
ID: 39940398
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
0
 

Author Comment

by:terrybuck9
ID: 39945551
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
0
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 39945705
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:

Start-OnlineCoexistenceSync

Open in new window


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
0
 

Author Comment

by:terrybuck9
ID: 39947155
Great thanks, I was using the wrong shell.

thanks Terry
0
 

Author Closing Comment

by:terrybuck9
ID: 39947157
Great thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Email Headers 5 75
AD CONNECT:  Installing AD FS without AD CONNECT (or not)? 4 53
Regarding Office 365 Smtp relay 1 45
Want to Create New-GlobalAddressList 2 13
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This Experts Exchange lesson shows how to use VBA to loop through rows in Excel.  In order to sort, filter, and use database features, there needs to be a value in each column for every row. When data arrives with values missing, code to copy values…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question