Share This Article:

Microsoft Teams

You can easily change the name of an Office 365 Group or Team through the Office Admin Portal or the Teams Admin Center. If you change the group or Teams name, it won’t automatically change the ID or email (SMTP) address associated with that group. In order to change that, you’ll need to use Exchange Online Powershell.

  • Connect to your Exchange Online Powershell using a Global Administrator account by following the steps outlined in: Office 365: Connect to Exchange Online Powershell
  • Run the below commands to add required SMTP addresses as an alias:

    Set-UnifiedGroup -Identity "Group Name" -EmailAddresses: @{Add ="GroupName@domain.com"}

    Set-UnifiedGroup -Identity "Group Name" -EmailAddresses: @{Add ="GroupName@domain.onmicrosoft.com"}

  • Promote alias as a primary SMTP address using this command:

    Set-UnifiedGroup -Identity "Group Name" -PrimarySmtpAddress "GroupName@domain.com"

  • If you no longer want to associate the old address with the group, you can remove it by running these commands:

    Set-UnifiedGroup -Identity "Group Name" -EmailAddresses: @{Remove="OldGroupName@domain.onmicrosoft.com"}

    Set-UnifiedGroup -Identity "Group Name" -EmailAddresses: @{Remove="OldGroupName@domain.com"}

In the above commands, you’ll want to replace:

  • GroupName with your new group name
  • domain.com with your primary SMTP email domain
  • domain.onmicrosoft.com with your Office 365 domain
  • OldGroupName with the old address you want to remove

Share This Article:

 

Related Content