Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi, Jared Jamiel1
Good day!
Thanks for posting into our community.
According to your description, it sounds like you're facing a common issue when trying to merge existing Active Directory (AD) users with Entra AD using Azure AD Connect.
Here are some steps and considerations that might help you resolve this issue:
- Soft Matching: This method uses the userPrincipalName (UPN) and primary SMTP address to match on-premises AD users with existing Azure AD users. Ensure that the UPN and primary SMTP address in your on-premises AD match those in Azure AD. You can enable soft matching by running the following PowerShell command:
Set-MsolDirSyncFeature -Feature EnableSoftMatchOnUpn -Enable $true - Hard Matching: If soft matching doesn't work, you can use hard matching by setting the ImmutableID attribute in Azure AD to match the on-premises AD object. This can be done using the following PowerShell commands:
# Get the ImmutableID of the on-premises AD user $OnPremUser = Get-ADUser -Identity "username" -Properties ObjectGUID $ImmutableID = [System.Convert]::ToBase64String($OnPremUser.ObjectGUID.ToByteArray()) # Set the ImmutableID in Azure AD Set-MsolUser -UserPrincipalName "******@domain.com" -ImmutableId $ImmutableID - ProxyAddresses Conflict: The error message indicates a conflict with the ProxyAddresses attribute. Ensure that there are no duplicate values in the ProxyAddresses attribute in your on-premises AD. You may need to remove or correct these duplicate values.
- Clear ImmutableID: If there are existing conflicts, you might need to clear the ImmutableID property in Azure AD for the conflicting object before attempting to merge. This can be done using the following PowerShell command:
Set-MsolUser -UserPrincipalName "******@domain.com" -ImmutableId "$null" - Documentation and Community Resources: Refer to the official Microsoft documentation and community forums for additional guidance and troubleshooting steps. Here are some useful links:
If these steps do not resolve the issue, you might want to consider reaching out to Microsoft Azure Support for further assistance. They can provide more detailed troubleshooting based on your specific situation - Search | Microsoft Learn.
Thanks for your precious time and your understanding would be highly appreciated.
Hope you all the best!
Microsoft Community Moderator.