In order to identify users disabled in On-Premises AD on the cloud, please refer to the instructions below,
The user accounts disabled on On-Premises AD appear with the following status:
- Sign-in blocked status on Microsoft 365 admin center (under Account tab) as shown in the image below,
- Block sign in = Yes on Azure AD (under Settings) as shown in the image below,
Now you can also find the user information using the following:
1. "Sign-in status" and "Sync status" columns under Microsoft 365 Admin Center to know an On-Prem AD disabled user account as shown in the image below
2. You can refer to the cmdlet below as well because this will not list in Azure AD
Get-AzureADUser | Select UserPrincipalName, DisplayName, AccountEnabled, SyncStatus
Comments
0 comments
Please sign in to leave a comment.