Forum Discussion
Challenges with Office 365 group naming policy
Those policies only apply to Office 365 Groups (modern groups) object, no DG or other group types. It's not applied to any existing groups, but if a group is edited via any of the clients that support policies, it will be updated to conform with the policy.
You can only have a single policy, as the underlying DirectorySettings object doesn't support multiple instances of the same object type. You can use multiple attributes, combine different types, but the total length is limited to 53 chars.
There is no performance penalty, and the management overhead depends on how well versed with PowerShell your IT staff is :)
- rahulraj40Jul 10, 2019Copper Contributor
VasilMichev Thanks for your response and appreciate the information provided here.
Please see this MS article (https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-naming-policy)
Para: The naming policy is applied to creating or editing groups created across workloads (for example, Outlook, Microsoft Teams, SharePoint, Exchange, or Planner). It is applied to both the group name and group alias. If you set up your naming policy in Azure AD and you have an existing Exchange group naming policy, the Azure AD naming policy is enforced in your organization.
1. It says group created across workloads(ex. Exchange), does that include Group mailboxes?
It also says, if there is existing Exchange group naming policy, then Azure AD naming policy will override this. I am not much familiar with exchange groups.
2. Exchange group naming policy is applicable to which groups?(Group mail box? O365 groups?)
3. Is it possible to use different prefix for different groups? Like can we have multiple prefix in the policy?
- VasilMichevJul 10, 2019MVP
I already answered those above. No, you cannot use different prefixes, it's one tenant-wide setting. If you want different prefixes, you have to write your own provisioning method.
The article you are citing applies to only Office 365 (modern) groups, across all endpoints. The Exchange policy applies to "traditional" DGs as detailed for example here: https://docs.microsoft.com/en-us/exchange/recipients-in-exchange-online/manage-distribution-groups/create-group-naming-policy