How to update email address of already created Microsoft 365 group? Roles / permissions

Álvaro López Fernández 0 Reputation points
2023-07-20T17:04:03.9666667+00:00

Hello. I'm able to create Microsoft 365 groups, but when I try to modify the email address of an already created Microsoft 365 group, I'm not able to perform that action.

My user has the "User Administrator" Azure built-in role assigned. With this role, I can edit the name or the description of the group, but not the email address. I don't see the 'edit' button.

Do you know which Azure built-in or custom role is needed to perform this action?

Thanks in advance,

Álvaro

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,185 questions
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2023-07-20T17:23:03.8666667+00:00

    You need the Exchange Roles to modify 365 group email address:

    Role RoleAssigneeType RoleAssigneeName


    Mail Recipients RoleGroup Recipient Management

    Mail Recipients RoleGroup Organization Management


  2. Sandeep G-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2023-07-27T03:35:42.7466667+00:00

    @Álvaro López Fernández

    Yes It is possible, you can add new email ID and you can promote your new Email ID as an SMTP and you can remove your Old Email ID. But performing this steps, you need a global Administrator access.

    Please follow below Steps to change Office 365 group Email address:- 

    Current SMTP address :- ******@abcd.onmicrosoft.com

    Required SMTP address :- ******@abcd.com 

    Follow the below steps in power shell using Global Administrator Credentials,

     

    • Connect to Exchange Online via Power shell using Global Administrator Credentials and run the below commends. First two commands run separately,
         Set-ExecutionPolicy Unrestricted
      
         Start-service winrm
      

    Import-module MSOnline
    $UserCredential = Get-Credential
    $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
    Import-PSSession $Session
    Connect-MsolService -Credential $UserCredential

    • Run the below command to add required SMTP address as an alias. Set-UnifiedGroup -Identity "X" -EmailAddresses: @{Add ="Y"} here X is the Display Name of Office 365 group and Y is the required Email ID. Eg:- Set-UnifiedGroup -Identity "Test o365Group" -EmailAddresses: @{Add ="******@abcd.com"}
    • Promote alias as a primary SMTP address, Set-UnifiedGroup -Identity "Test O365Group" -PrimarySmtpAddress "******@abcd.com"
    • If not required, you can remove first ID using below command. Set-UnifiedGroup -Identity "Test o365Group" -EmailAddresses: @{Remove="******@abcd.onmicrosoft.com"}

    Please note, for updating the Office 365 group SMTP address required Global Administrator access. Hope this will help you and let me know if you are facing any issue on this.

    Let me know if you still have any question post trying the above steps.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.