Install azureAD Module
To install the public preview release, usePowerShellCopy
To allow user to create group we need to add $AllowGroupCreation = $True to script and re-run the script
NOTE: Changes can take thirty minutes or more to take effect.
Disable user from creating group in teams
Download the file and save as .ps1