Challenges with Office 365 group naming policy

Copper Contributor

We are planning to implement, group naming policy for Office 365 groups in our tenant. Before we enable the policy wanted to know few things.

1. How many number of prefixes are allowed to use in Policy?

Ex. I want to use prefix GRP for some groups and O365GRP for others like wise.

2. If we are enabling policy based on attributes, how many conditions we are allowed select?

Ex. IF Country....IF State...IF Depart....IF Office like wise

3. How this will affect the existing groups?(we have around 20k existing groups.)

4. How this will affect the Exchange groups or others like Security, Distribution list, Group mail boxes?

5. Are there any consequences of naming policy?

ex. Performance, Maintenance etc.

Thanks! I would really appreciate the help.

I have already referred below links

3 Replies

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 :)

@Vasil Michev 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?

 

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/c...