With synchronization disabled, all user and group management must now be done directly in Microsoft Entra ID. Update your administrative processes accordingly.
Check for users that were previously synced and are now cloud-managed:
Connect-MgGraph -Scopes "User.Read.All"
Get-MgUser -Filter "userType eq 'Member'" -Property DisplayName,UserPrincipalName,OnPremisesImmutableId | Where-Object {$_.OnPremisesImmutableId -ne $null} | Select-Object DisplayName,UserPrincipalName
Review and update dynamic groups that may have relied on on-premises attributes:
Get-MgGroup -Filter "groupTypes/any(c:c eq 'DynamicMembership')" -Property DisplayName,MembershipRule
Update any dynamic group rules that reference on-premises attributes (like extensionAttribute1) to use cloud-based attributes instead.
Key changes to implement:
- Create new users directly in Microsoft Entra ID
- Manage group memberships through the cloud
- Update any automation scripts to use Microsoft Graph instead of on-premises AD
- Reconfigure any applications that relied on on-premises group memberships
Verification: Test creating a new user in Microsoft Entra ID to ensure your new processes work:
$newUser = @{
DisplayName = "Test User"
UserPrincipalName = "testuser@yourdomain.com"
MailNickname = "testuser"
PasswordProfile = @{
Password = "TempPassword123!"
ForceChangePasswordNextSignIn = $true
}
AccountEnabled = $true
}
New-MgUser @newUser