To resolve this issue, follow these steps:
- Connect to Exchange Online by using Windows PowerShell. For more information about how to do this, visit the following Microsoft website:
- Perform the operation that you want by using the appropriate Windows PowerShell cmdlet.
For example, to remove the distribution group, you can use the Remove-DistributionGroup cmdlet together with the BypassSecurityGroupManagerCheck parameter as follows:Remove-DistributionGroup <name of the group> -BypassSecurityGroupManagerCheck
Examples
The following are some examples of other Windows PowerShell cmdlets that you can use to manage distribution groups.
To assign ownership of a distribution group, use the
Set-DistributionGroup cmdlet as follows:
Set-DistributionGroup <name of the group>-ManagedBy "Admin@contoso.com" -BypassSecurityGroupManagerCheck
To add a user to the distribution group, use the
Set-DistributionGroup cmdlet as follows:
Add-DistributionGroupMember -Identity <name of the group>�-Member user@contoso.com
To remove a user from a distribution group, use the
Remove-DistributionGroup cmdlet as follows:
Remove-DistributionGroupMember -Identity <name of the group> -Member user@contoso.com
To check the members list for a distribution group, use the
Get-DistributionGroupMember cmdlet as follows:
Get-DistributionGroupMember -identity <name of the group>|fl DisplayName,WindowsLiveID,RecipientType