How to Change Office 365 Group Name using PowerShell?

Requirement: Change Office 365 Group Name using PowerShell.

How to change Office 365 Group Name using Admin Center?

Do you want to rename an Office 365 group? Perhaps the name is no longer relevant, your company has decided to go with a new naming convention, or you want to change it for branding purposes. Whatever the reason, We’ll walk you through the steps needed to rename a group. We will also show you how to use PowerShell to change the name of an Office 365 Group.

You can rename Office 365 groups through Microsoft 365 admin center as an admin. Here is how:

  1. Log in to the Microsoft 365 Admin Center site: https://admin.microsoft.com
  2. Expand “Teams & groups” and click on the “Active teams & groups” link in the left navigation. 
  3. Under the “Microsoft 365” tab, select the group you wish to rename.
  4. Click on the “Edit” button under “Basic info”, which is represented by a pencil icon.
    how to change office 365 group name
  5. On the edit page, you can edit the group’s name by typing a new name in the “Name” field.
  6. Once you have entered the new name, click “Save” to apply the changes.
    change office 365 group name using powershell

Rename Office 365 Group using PowerShell

You can change the name of any Office 365 group using the Set-UnifiedGroup cmdlet. E.g., Set-UnifiedGroup -Identity “group@tenant.com” -DisplayName “New group Name”

#Get Credentials to connect
$Credential = Get-Credential
 
#Connect to Exchange Online
Connect-ExchangeOnline -Credential $Credential -ShowBanner:$False
 
#Rename Office 365 Group
Set-UnifiedGroup -Identity "Vendors@TheCrescentTech.com" -DisplayName "External Vendors Group"

#Disconnect Exchange Online
Disconnect-ExchangeOnline -Confirm:$False

This sets the display name of the Office 365 group with the Email “Vendors@TheCrescentTech.com” to “External Vendors Group”

Conclusion

In summary, renaming an Office 365 group is a straightforward process that can be done through the Microsoft 365 admin center or using PowerShell. Changing the name of an Office 365 group can be necessary if the group’s purpose or membership changes over time. In this post, we have outlined the steps to change the name of an Office 365 group using both methods. Whether you prefer the Microsoft 365 admin center or PowerShell, changing the name of an Office 365 group is an easy task.

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two-decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. He has held various positions including SharePoint Architect, Administrator, Developer and consultant, has helped many organizations to implement and optimize SharePoint solutions. Known for his deep technical expertise, He's passionate about sharing the knowledge and insights to help others, through the real-world articles!

One thought on “How to Change Office 365 Group Name using PowerShell?

  • Hello
    I am wonderring, technically speaking, what will be renamed?
    – Mailnickname ?
    – SPO Url ?
    – Display name of Teams?

    Best Regards
    Chris

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *