Vai al contenuto

Microsoft Azure AD Connect

Sync Errors

  • Errors sync can happen , usually just need to overwrite the immutable ID value​
  • Worst Cases requieres to delete the user windows profile​

 

OnPrem​Actions​Commands​Results​
1​Install Powershell AD module (Only one time)​​​
​​Install-Module MSOnline​​
​​​​
2​Get attribut ObjectGUID value​​​
​​Get-ADUser -Identity User | SELECT UserPrincipalName,ObjectGUID​Exemple fa412659-c596-4d8a-8ee6-5bcf75fa468d​
​​​​
3​Encode to base64 ObjectGUID value ​​​
​​[Convert]::ToBase64String([guid]::New(“fa412659-c596-4d8a-8ee6-5bcf75fa468d“).ToByteArray())​​
Azure AD ​Actions​Commands​Results​
1​PowerShell​​​
​​Connect-MsolService​​
2​Get ImmutableID value of 365 accounts​​​
​​Get-MsolUser -UserPrincipalName testuser@erbc-group.com | SELECT UserPrincipalName,DisplayName,ImmutableID​​
​​​​
3​Overwrite ImmutableID with Base64 generated value​​​
​​Set-MsolUser -UserPrincipalName testuser@erbc-group.com -ImmutableID “h/Svhc4nZEClWZMIu1Yhwg==“​​

ERBC Group-It Dept –> Documenti/General/Pro

https://erbcgroup365.sharepoint.com/:p:/r/sites/ERBC-ITDept/_layouts/15/Doc.aspx?action=edit&sourcedoc=%7B17da7e5b-050c-42ab-b208-f3af64f4a1c8%7D&wdOrigin=TEAMS-ELECTRON.teamsSdk.openFilePreview&wdExp=TEAMS-CONTROL&web=1

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *