Forum Discussion
Is there a way to disable users from creating office 365 groups?
- Feb 16, 2018
open a Powershell session to Exchange online
export the settings of the default owamailbox policy
Get-OwaMailboxPolicy -identity default | Export-Csv C:\policy.csv
then create a new-owamailboxpolicy with the same settings as default
https://technet.microsoft.com/en-us/library/dd351067(v=exchg.160).aspx
after that edit the policy
Set-OwaMailboxPolicy -GroupCreationEnabled $false -Identity OwaMailboxPolicy:NewPolicy
And finally assign the policy to the user
Set-CASMailbox -Identity user@domain.com -OwaMailboxPolicy:NewPolicy
Same article I am referring to earlier. This article is saying create a group which will have access to create office 365 groups. Disable group creation permission globally for every user by default. Add the required users to the group for whom I am intend to give permission for group creation.
But I want to handle in bit another way. I just want to disable for only one user, not globally. Want to know is there any such feasibility!
you could add everyone except for the one user to the security group that is authorized to create the Office Groups
- Mihir YelamanchiliFeb 16, 2018Brass Contributor
Dean_Gross wrote:
you could add everyone except for the one user to the security group that is authorized to create the Office Groups
That is what article is saying. But assume a scenario where there are 1000 users. If I want to restrict 10 users then process will be tedious. So if there is a way to set the property for user not to create group then that will be good.
- Pablo R. OrtizFeb 16, 2018Iron Contributorit's not that tedious. You can just do it on Office 365 administration or with powershell
https://docs.microsoft.com/en-us/powershell/module/msonline/remove-msolgroupmember?view=azureadps-1.0- Mihir YelamanchiliFeb 16, 2018Brass Contributor
Yes, got you. But we need to run powershell every time. I am thinking if there is a way like un-check property of the user not to create group then it will be much more easier. So exploring the possible ways