question

ChrisDurham-1221 avatar image
0 Votes"
ChrisDurham-1221 asked shashishailaj commented

Azure Active Directory Connect Issue

Good Morning,
I have the following scenario and I need some assistance with ADConnect :-

1) Office 365/AAD accounts configured and successfully connected to local AD (Contoso)
2) ADConnect removed
3) new AD domain created (Contoso.company)
4) script run to remove the ImmutableID attribute from the AAD accounts
5) new contoso.company AD users created with same smtp and upn as old contoso users
6) ADConnect configured to sync contoso.company AD to AAD
7) Sync fails with duplicate smtp attribute

I have searched on here and the documentation says that if there is anything in the ImmutableID field then ADConnect will try a hard match - this will fail as there is no AD account with that id in it anymore. It does say that as long as the ImmutableID is null then it will perform a soft match based on UPN and primary smtp address and join the accounts that way. It seems that something is missing and it won't join the accounts. Can anyone help please ?

azure-active-directory
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

UPDATE:

The Sync process has run again and has created a new AD user with a different UPN. It still has not joined the users together correctly.

0 Votes 0 ·

1 Answer

ChrisDurham-1221 avatar image
2 Votes"
ChrisDurham-1221 answered shashishailaj commented

I have found a solution - instead of setting the ImmutableID to Null and hoping it will connect correctly, we can set the ImmutableID to the correct value for the new AD account - I used the following article Link



The very last section discusses how to set this attribute correctly.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ChrisDurham-1221 , Thank you for sharing your findings and working solution with the community.

0 Votes 0 ·