In my previous post, Getting Started with Office 365 Groups, I outlined many of the steps necessary for controlling the creation of Office 365 Groups. I initially realized that this process is cumbersome but had it reinforced when I walked someone through it recently.
So, I have a new module: xAzureAD.DirectorySetting. It provides a single function: Set-AzureADGroupsSetting.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-AzureADGroupsSetting -GroupCreationAllowedGroup "O365 Groups Creators" -EnableGroupCreation $False |
That is it. All of the other parameters are there for the other settings in the Group.Unified template, but I have done nothing more than set them to a Boolean type, if intended.
Consider supporting my efforts by purchasing Programming Microsoft Office 365 (includes Current Book Service): Covers Microsoft Graph, Office 365 applications, SharePoint Add-ins, Office 365 Groups, and more (Developer Reference), or another title on Amazon
.
3 thoughts on “Controlling Office 365 Groups Creation”