Months ago our group created a Team – let’s call it Team Name — which automatically reserved the email address teamname@site.xyz. Recently we decided to ask for an external email address for our group and requested teamname@site.xyz, only to find it’s already our email in Teams. That address is more valuable to us for external use. How do we change the Teams email address to free up that address for external use? I’m a user, not an admin.
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
- com with your primary SMTP email domain
- onmicrosoft.com with your Office 365 domain
- OldGroupName with the old address you want to remove
Hello,
I wrote a PowerShell script to change the Team Email, it’s available here.
Unfortunately there is no graphical interface to achieve this.