Hi @exar ,
I understand that you have deleted a user from on-premises, but that user is not getting deleted in Azure.
There are a few potential factors that could cause this to happen.
- There could be some dependency preventing the user from getting deleted. Please remove all licenses from the user and then manually remove the user using Remove-AzureADUser -ObjectId "******@mydomain.com"
https://learn.microsoft.com/en-us/powershell/module/azuread/remove-azureaduser?view=azureadps-2.0
- It's possible that there is a filter applied to the object that is preventing the changes from being synchronized. If this is the case, you can verify this by checking the filtering configuration. https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-configure-filtering#filtering-options
- There could be an issue with the synchronization operation itself. You can check the Operations tab in the Synchronization Service Manager of Azure AD Connect for more troubleshooting details. This tab will show the results from the most recent operations and any sync errors related to the user02 object.
The operation may also take up to 30 minutes to complete. If 30 minutes have passed and the changes are still not reflected, you can review the Health Monitoring Agent to ensure that there aren't any issues with the process.
Let me know if this helps and if you have further questions. If you try all of these steps and still face the issue, feel free to send me an email at AzCommunity@microsoft.com ("Attn: Marilee Turscak") and include your subscription ID and a link to this thread, and I can open a one-time free support case to investigate further.
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar information.