- You have an on-premises Active Directory object.
- Directory synchronization is used to sync the Active Directory object to Microsoft Azure Active Directory (Azure AD). This creates a linked object.
- You delete the on-premises Active Directory object.
- Directory synchronization hasn't yet occurred.
- Directory synchronization unexpectedly failed to delete a specific cloud object and results in an orphaned Azure AD object.
- Force directory synchronization. For more info about how to do this, go to the following Microsoft website:
- Check that directory synchronization occurred correctly. For more info about how to do this, go to the following Microsoft website:
- If sync is working correctly but the Active Directory object deletion is still not propagated to Azure AD, you can manually remove the orphaned object by using one of the following Azure Active Directory Module for Windows PowerShell cmdlets:
Remove-MsolContactFor example, to manually remove orphaned user ID email@example.com that was originally created by using directory synchronization, you would run the following cmdlet:
Remove-MsolUser –UserPrincipalName John.Smith@Contoso.com
ID articol: 2709902 - Ultima examinare: 28 dec. 2016 - Revizie: 1