question

StavrosMitchell-1905 avatar image
0 Votes"
StavrosMitchell-1905 asked AnshulKumarMINDTREELIMITED-5501 commented

Change UPN Suffix for all users

Hey Everyone,

We have a client that would like to switch his UPN Suffix for all his Users, Distribution Groups, Shared Mailbox and Teams. I have done this long time ago for the users and never run into a problem. Just curious has anything changed or has anyone run into any issues. If i am not mistaken we can run a script to change the suffix for all the users and then another script to added the new suffix as the Proxy address main and then the old one as an alias.

Has anyone changed the Teams and run into any problems? If so is it done by powershell?

Thanks

office-teams-windows-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, if the posted answer resolves your question, please mark it as the answer by clicking the check mark. Doing so helps others find answers to their questions.

0 Votes 0 ·
SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered SharonZhao-MSFT commented

@StavrosMitchell-1905,

What do you mean change the UPN suffix for Teams?

In Office 365, UPN equals to default SIP address in Skype for Business Online, Microsoft Teams as well. So, when you change the UPN suffix for users, it is also applied to Teams.

TonyS provides the PowerShell for bulk updating Azure AD/ Office 365 UPN suffix as below. Here is the thread for your reference.

 Import-CSV "C:\UPNTest.csv" | Foreach { Set-AzureADUser -ObjectID $_.UserPrincipalName -UserPrincipalName $_.NewUPN }


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for the command. Do you know if its possible to actually change the teams name not the users and if so any impact

thanks

0 Votes 0 ·
SharonZhao-MSFT avatar image SharonZhao-MSFT StavrosMitchell-1905 ·

@StavrosMitchell-1905,
The Teams name and username are the same thing in Office 365. So, you cannot do like that.

0 Votes 0 ·
SharonZhao-MSFT avatar image SharonZhao-MSFT StavrosMitchell-1905 ·

@StavrosMitchell-1905,

Do you have any further doubt of this topic?

Please feel free to drop us any note.

Have a good day!

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered

Note If you change the UPN and how it affects OneDrive:
https://docs.microsoft.com/en-us/onedrive/upn-changes


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.