How to override the distribution group naming policy in Exchange Online
Naming policies are a set of rules that ensure groups are named appropriately and without exposing any business details or personal information. They can be configured using the new Exchange Admin Center (EAC) from Microsoft 365. When you create groups using the classic EAC from Exchange Server, the group naming policy is ignored and not applied to the group name. This can be overridden by using Exchange Online PowerShell to create or rename a distribution group for which you want the policy to be applied for.
The steps mentioned below can be used to override the distribution group naming policy by creating or reaming a distribution group using Exchange Online PowerShell:
Steps to create a distribution group using Exchange Online PowerShell:
- Run the following command after filling in the group name. where <Group Name> refers to the distribution group for which you want to apply the naming policy.
New-DistributionGroup -Name <Group Name> -IgnoreNamingPolicy
Steps to rename a distribution group using Exchange Online PowerShell:
M365 Manager Plus is an extensive Microsoft 365 tool used for reporting, managing, monitoring, auditing, and creating alerts for critical incidents. With M365 Manager Plus, you can:
- Run the following command after filling in the group name.
Set-DistributionGroup -Identity <Old Group Name> -Name <New Group Name> -DisplayName <New Group Name> -IgnoreNamingPolicy
Highlights of M365 Manager Plus
- Bulk management: Manage mailboxes, users, sites, groups, and contacts effortlessly in bulk.
- Extensive reports: Gain a thorough understanding of your environment in Exchange Online, Azure Active Directory, SharePoint Online, OneDrive for Business, and other Microsoft 365 services with detailed reports.
- Intense auditing: Keep tabs on the most granular user activities in your Microsoft 365 environment.
- Real-time notifications: Receive instant email notifications about critical activities.
- Constant monitoring: Monitor the health and performance of Microsoft 365 features and endpoints around the clock.
- Customizable help desk roles: Create custom roles with any combination of reporting, management, and auditing tasks. Assign these roles to non-administrative users to reduce the workload of Microsoft 365 admins.
To learn more tips and tricks that can simplify your Microsoft 365 tasks, click here.
One-stop solution for your Microsoft 365 management needs.
Streamline your Microsoft 365 governance and administration with M365 Manager Plus
Get Your Free Trial