Forum Discussion
JasonPPF
Dec 10, 2022Copper Contributor
Remove-DistributionGroup role issues
If I need to remove DistributionGroup with Powershell by using Remove-DistributionGroup commond. (I'm not owner, not admin role) I checked document, looks like 【You have to be an Exchange Online a...
- Dec 11, 2022Well you can, if you are an owner and the tenant allows owners to self-manage/delete groups.
VasilMichev
Dec 10, 2022MVP
Only an admin can make you an owner of the group, or use the BypassSecurityGroupManagerCheck parameter for that matter.
- JasonPPFDec 11, 2022Copper ContributorThank you for replying!
So no matter whitch way, an admin is necessary.
Or is there have another workaround without admin role can remove DistributionGroup?- VasilMichevDec 11, 2022MVPWell you can, if you are an owner and the tenant allows owners to self-manage/delete groups.