I need help converting a few commands from msoluser to mguser, to change the immutableid #2951
-
In our setup we have a SAML with Google Workspace provisioning users to M365. This worked with msoluser, but with MS Graph and mguser, the commands and options I have do not work, so I need help fiding alternative options to accomplish the same thing. Here are the commands. edu.lomma.se is one of our tenants.
I've tried to figure this out by myself, but it's just too hard.
I have not at all been able to list users with the ImmutableId value, whiich of course is necessary for the comparison part of the command. I tried adding it with -Property, but nothing shows.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I ran your line of code in our tenant without any issues.
|
Beta Was this translation helpful? Give feedback.
-
OH! I can now print a filtered list of the users that deviates!
So, now I'm looking for the replacement command for this old MsoUser-command. Set-MsolUserPrincipalName |
Beta Was this translation helpful? Give feedback.
-
FOUND IT!
So, it wasn't that different, but just hard to find. I now have a complete process using MS Graph instead of MsolUser. |
Beta Was this translation helpful? Give feedback.
FOUND IT!
O = old command
N = new command
So, it wasn't …