We already had a group naming policy available for Exchange security mail-enabled or distribution groups BUT this did not apply to Office 365 Group name.
Starting today, and in preview, a group naming policy is available for Office 365 Groups; this will apply to Office 365 Groups AND Teams
NOTE this functionality requires to have Azure AD Premium and the Azure AD Preview module (version 22.214.171.124 or later)
To implement Office 365 Groups naming policy, you need to connect to your Azure AD with PowerShell and the use the following commands
As usual with the Install-Module command, you may be prompted to install NuGet and trust the repository
NOTE you may need to uninstall previous version of the Azure AD modules or Azure AD Preview modules prior to install the latest version
NOTE you can use either a string and/or user attribute between brackets . Using user attributes will automatically fill the ‘gap’ with the value from your Azure AD (or your Active Directory if you are using directory sync). The [GroupName] section will be filled with the value provided by end-user during the group creation
The policy will then be applied and available from any client used to create new Office 365 Groups (or Teams), like Outlook on the Web (OWA), Outlook 2013/2016 on Windows or Outlook for Mac.
NOTE this seems not applicable if an Office 365 administrator is creating the group from Office 365 Admin portal or Azure Portal
This blog is using tracking code for analytics purpose.
No personal data are stored and maintained.