Created
August 26, 2018 09:16
-
-
Save arjancornelissen/c7970933d346dd1d3cfebb8020859ec9 to your computer and use it in GitHub Desktop.
Update cloud user with the on-premises ImmutableId
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$aaduser = Get-AzureADUser -SearchString <Cloud username> | |
Set-AzureADUser -ObjectId $aaduser.ObjectId -ImmutableId $ImmutableId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment