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:
- Log in to the Microsoft 365 Admin Center site: https://admin.microsoft.com
- Expand “Teams & groups” and click on the “Active teams & groups” link in the left navigation.
- Under the “Microsoft 365” tab, select the group you wish to rename.
- Click on the “Edit” button under “Basic info”, which is represented by a pencil icon.
- On the edit page, you can edit the group’s name by typing a new name in the “Name” field.
- Once you have entered the new name, click “Save” to apply the changes.
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 “[email protected]” -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 "[email protected]" -DisplayName "External Vendors Group"
#Disconnect Exchange Online
Disconnect-ExchangeOnline -Confirm:$False
This sets the display name of the Office 365 group with the Email “[email protected]” 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.