Change UPN Suffix for all users

Stavros Mitchell 21 Reputation points
2021-07-13T15:33:24.197+00:00

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

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,157 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Sharon Zhao-MSFT 25,056 Reputation points Microsoft Vendor
    2021-07-14T05:07:56.943+00:00

    @Stavros Mitchell ,

    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.


  2. Andy David - MVP 142.3K Reputation points MVP
    2021-07-14T11:42:13.457+00:00

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

    0 comments No comments