Forum Discussion
Enable Office 365 Group creation for All Users
How do we allow All Users to create Office 365 Groups after changing it to just our Global Admins?
Unable to find information on how to reverse this setting.
I am using an MFA account with AzureADPreview Powershell latest version.
Unintended consequences after making this change. One is that Users are unable to set a Favorite on an O365 Group after the change and another is unable to use Planner. This will also affect Yammer going forward.
So we want to reverse back to default to where everyone can create an O365 Group.
Thanks,
Denise
7 Replies
To revert the changed settings, you will have to either remove the entire Settings Object or change the Group. The first one is done via:
Get-MsolAllSettings | ? {$_.TemplateId -eq "62375ab9-6b52-47ed-826b-58e47e0e304b"} | % { Remove-MsolSettings -SettingId $_.ObjectId }
however, it will affect any other changes you have made to the Groups settings object, for example Guest access.
To simply update the settings object to allow Group creation and preserve all other settings:
$temp = Get-MsolAllSettings | ? {$_.TemplateId -eq "62375ab9-6b52-47ed-826b-58e47e0e304b"}
$temp["EnableGroupCreation"] = $True
Set-MsolSettings -SettingId $temp.ObjectId -SettingsValue $temp.GetSettingsValue()
The cmdlets above are generic, the objectId should apply to all tenants.
- Denise ChildIron Contributor
Hi Vasil,
I am using AzureADPreview 2.0
Not sure what commands to substitute for the last line or if this is written differently.
I do want to keep the existing settings but open it up to everyone again.
If I substitute the commands that you wrote with the below, the first two lines work.
I'm stuck on what the third line should be or if it should be written differently.
$temp = Get-AzureADDirectorySetting | ? {$_.TemplateId -eq "62375ab9-6b52-47ed-826b-58e47e0e304b"}
$temp["EnableGroupCreation"] = $TrueI thought it would be: New-AzureADSetting...
but with the $temp commands I'm missing a $setting variable or something else.
I found some help from the below link, but what I have tried is not working.
http://drewmadelung.com/managing-office-365-group-using-azure-ad-powershell-v2/
Thanks,
Denise
If using AzureAD cmdlets, you need Set-AzureADDirectorySetting for the last part. There's a detailed guide here: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-accessmanagement-groups-settings-cmdlets
- Ok, I'm following you on this question...well, Planner integration in Teams is not fully functional today so you will find some gaps like this one. Microsoft has promised to reduces these gaps, but not ETA defined yet