Created
December 6, 2021 14:47
-
-
Save ca0abinary/901bf07e4e2e3ec4e991aa5321b63dc7 to your computer and use it in GitHub Desktop.
Convert UPN
This file contains 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
Import-Module MSOnline | |
Connect-MsolService | |
$upn = "[email protected]" | |
Set-MsolUserPrincipalName -UserPrincipalName $upn -NewUserPrincipalName $upn.Replace("geniuscentral","geniuscentral.onmicrosoft") | |
add to | |
https://aad.portal.azure.com/#blade/Microsoft_AAD_IAM/GroupDetailsMenuBlade/Members/groupId/d3992f53-022d-4e63-84a7-0d38b0731011 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment