How to manage the Microsoft 365 distribution groups?
By actively managing distribution groups, organizations can mitigate security risks, eliminate redundancy, and enhance their Microsoft 365 environment. This approach ensures that only the appropriate individuals receive information, keeping everyone informed and aligned. These groups can be managed using the Exchange admin center and PowerShell.
Using Exchange Admin Center
- Login to the Exchange admin center.
- Navigate to .
- Click on the distribution group you want to manage. Go to Settings tab to manage message approvals, membership approvals, delivery management, etc.
- You can also create and delete distribution lists from this page.
![exchange-distribution-groups](../images/how-to-images/exchange/export-distribution-list-in-microsoft-365/exchange-distribution-groups.png?v=5110_21)
- You can also create and delete distribution lists using the steps below.
To create a Distribution list,
- Click the Add a group button in the Distribution list page.
- Select the group type as Distribution and give all the details that are required.
- Click Create group. The Office 365 distribution group will be created.
To delete a Distribution list,
- Select the group you want to remove and click the More Actions button.
- Choose Delete group to confirm.
- A confirmation prompt will appear. Click it again to remove the distribution group.
Using Windows PowerShell
- Connect to the Exchange Online PowerShell using the below cmdlet.
Connect-ExchangeOnline
- To create a distribution group, run the below cmdlet.
New-DistributionGroup -Name <"Group name">
- To remove a distribution group, run the below cmdlet.
Remove-DistributionGroup -Identity <"Group name">
- To add or remove members of a distribution group.
Add-DistributionGroupMember -Identity <"Group name"> -Member <"Member Name"> Remove-DistributionGroupMember -Identity <"Group name"> -Member <"Member name">
- To add or remove distribution group owners.
Set-DistributionGroup <"Group name"> -ManagedBy @{Add= <"User-email address"> Set-DistributionGroup <"Group name"> -ManagedBy @{Remove= <"User-email address">
- To manage the settings of your existing distribution groups, utilize the below command.
Set-DistributionGroup
- For instance; To hide a distribution list from the Gloal Address List (GAL), use the cmdlet:
Set-DistributionGroup <"Group name"> -HiddenFromAddressListsEnabled $True
- To explore distribution groups in your organization, run the below cmdlet.
Get-DistributionGroup
- To get a list of members of a specific distribution group, run the below cmdlet.
Get-DistributionGroupMember -Identity <"Group email address">
The Distribution group audit reports in AdminDroid, provide a clear picture of all changes in distribution groups facilitating your group management.
- The Distribution Group Changes report provides a comprehensive view of all distribution group changes, including membership changes, ownership changes, creation & deletion of groups, and any other modifications in distribution groups settings.
![admindroid-changes](../images/how-to-images/exchange/export-distribution-list-in-microsoft-365/admindroid-changes.png?v=5110_21)