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
Mihir one approach to fulfill your requirement is to leverage dynamic membership for the security group controlling who gets to create groups and have something like : <include all users> -and -not (user.userPrincipalName -eq "johndoe@contoso.com")
cfiessinger wrote:
Mihir one approach to fulfill your requirement is to leverage dynamic membership for the security group controlling who gets to create groups and have something like : <include all users> -and -not (user.userPrincipalName -eq "johndoe@contoso.com")
Dynamic membership required Azure AD P1 licence, which I want to avoid :)
- cfiessingerFeb 16, 2018
Microsoft
True as well as controlling who gets to create groups