Troubleshoot: Remove an alias from a group
Did you get this error when you were creating a new user? "This email address is already being used as an alias for the group <group name>." This article will show you how to remove the email alias from the group.
Caution
It is unusual for a group to have an alias because it has to be added using Exchange Online PowerShell. You'll have to remove it using Exchange Online PowerShell.
If you're new to PowerShell, you can do this! The Exchange Online PowerShell commands used in this article will only remove an alias from a Microsoft 365 group.
Remove the email alias from the group using Exchange Online PowerShell
Before you can do this procedure, you need the following:
- Connect to Exchange Online PowerShell
- The name of the group
- The email address that you want to remove
In Exchange Online PowerShell, replace the group name and email address with your values, and run the following command:
Set-UnifiedGroup -Identity "Group name" -EmailAddresses @{remove="alias@contoso.com"}
It may take a few minutes, but when the command has completed, the command prompt will return. You'll only get a message if there was an error.
Close the connection to Exchange Online PowerShell by running the following command:
Remove-PSSession $Session
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for