Skip to content

I need help converting a few commands from msoluser to mguser, to change the immutableid #2951

Closed Answered by NoSubstitute
NoSubstitute asked this question in Q&A
Discussion options

You must be logged in to vote

FOUND IT!
O = old command
N = new command

O Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
N Update-MgUser -UserId [email protected] -UserPrincipalName [email protected]
O Set-MsolUser -UserPrincipalName [email protected] -ImmutableId "[email protected]"
N Update-MgUser -UserId [email protected] -OnPremisesImmutableId [email protected]
O Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName [email protected]
N Update-MgUser -UserId [email protected] -UserPrincipalName [email protected]

So, it wasn't …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@NoSubstitute
Comment options

@CupOfJoe-L
Comment options

Comment options

You must be logged in to vote
2 replies
@CupOfJoe-L
Comment options

@NoSubstitute
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by NoSubstitute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants