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