Feb 16 2018 03:13 AM - edited Feb 16 2018 03:14 AM
I came to know that we can disable the users from creating office 365 groups globally. According to Office article we can give permission to only one or few groups to create groups permission using powershell. We can add the users into those particular groups if we want to give permission to create groups. But how we can set exclusively for one user not to create office 365 groups?
Feb 16 2018 03:21 AM
I am getting error while trying to providing the link in the question. Even if I type that error it is not allowing me to post that.
Feb 16 2018 03:32 AM - edited Feb 16 2018 03:36 AM
Solutionopen 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
Feb 16 2018 04:49 AM
We need to create this policy in power shell and assign this policy to the required user right!
Feb 16 2018 06:16 AM
Keep in mind, if you block users from creating Groups, in Planner for instance, they cannot create a new Plan.
Feb 16 2018 07:33 AM
Bear in mind that the approach to disable Groups creation via OWA policy is only going to work when trying to create Groups from OWA. Your users will be able to create Groups from any other App in Office 365: Outlook in the desktop, Teams or Planner....in regards of the error you are getting when trying to paste an external URL, I have faced the same problem lately...something has changed in the Tech Community that prevents to add external URLs. @AnnaChu can you help here?
Feb 16 2018 07:38 AM
@jcgonzalezmartin wrote:
Bear in mind that the approach to disable Groups creation via OWA policy is only going to work when trying to create Groups from OWA. Your users will be able to create Groups from any other App in Office 365: Outlook in the desktop, Teams or Planner...
Is it? That means there is no solid way to prevent users from creating Office 365 groups? Ideally user should not create from any app.
Feb 16 2018 07:45 AM
There is a way by configuring the Azure AD Policy. You can find the the URL of the related support article in the attachment to this message
Feb 16 2018 07:52 AM
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!
Feb 16 2018 08:34 AM
Feb 16 2018 08:36 AM
oh, yes, that's right! then your options are: create a group with all members but one
(BTW, I'm experiencing the same issue with this link, but only this link)
Feb 16 2018 08:37 AM
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")
Feb 16 2018 08:37 AM
you could add everyone except for the one user to the security group that is authorized to create the Office Groups
Feb 16 2018 08:42 AM
@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 🙂
Feb 16 2018 08:43 AM
Feb 16 2018 08:43 AM
@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.
Feb 16 2018 08:51 AM
Feb 16 2018 08:54 AM
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
Feb 16 2018 09:02 AM
Edit the group in Administration -> Groups and just clic the X on the user you want to remove
Feb 16 2018 09:07 AM
I think i haven't conveyed the thing properly seems. I don't want to delete the user from group. I want to un-check/set the property for a user to not create a group either from UI (admin center) or PowerShell.
Feb 16 2018 03:32 AM - edited Feb 16 2018 03:36 AM
Solutionopen 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