Sep 14 2017
- last edited on
Feb 06 2023
Is it possible to create Office 365 groups created via Team Sites, Planner, Yammer, Stream and Teams with a unique display name? If yes, How?
We would like to prevent the creation of Office 365 groups with duplicate display names in the organization.
Sep 15 2017 12:33 AM
The display name is not a parameter that's enforced for uniqueness, so there is not setting you can configure. You can however specify it when creating the Group and change it post-creation, so simply integrate a simple check whether that name already exists in your processes.
Sep 15 2017 12:40 AM - edited Sep 15 2017 12:42 AM
Users are free to create Office 365 groups via Team Sites, Planner, Yammer, Stream and Teams using the corresponding user interface.
How can you integrate a simple check in the creation process?
Sep 15 2017 07:26 AM
Sep 15 2017 10:53 AM
But you can limit the creation process only to people that understand the need to use proper display names :)
Sep 17 2017 06:40 AM
Or you can run the Get/Set-UnifiedGroup cmdlets in a script to periodically check for bad group names and then rename them.
Apr 05 2020 09:48 PM
You can avoid group and Teams duplicate names by implementing a self-service request for Teams.
This solution also gives Admins more control over naming convention and blocked words. You can modify the script to your preferred naming conversion. Or simply use it as is. You would need a PowerApps form to capture the requests, a SharePoint site to store the requests and an internal email relay server to send request status to users (or use PowerAutomate send email feature). All that is described in this article.
Finally, you have to create a scheduled job for the script and let it run every 5 to 10 mins interval to process user requests in the background. Mine runs every 5 mins. Good luck!