How do we restrict users from creating teams.

Anonymous
2022-08-23T14:23:54.587+00:00

Hello,

I would like to know how to restrict users from creating groups in Teams.

I tried to do it by following this direction https://learn.microsoft.com/en-US/microsoft-365/solutions/manage-creation-of-groups?view=o365-worldwide . It gives an error with running command: New-AzureADDirectorySetting -DirectorySetting $settingsCopy

We now have the Azure P1 assigned to a global admin. Not sure what we are doing wrong?;

234115-image.png

234116-image.png

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,478 questions
Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
478 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
5,876 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,731 questions
No comments
1 vote

1 answer

Sort by: Most helpful
  1. Dillon Silzer 35,956 Reputation points
    2022-08-23T15:33:48.207+00:00

    Hi @Anonymous

    Try the following (from https://github.com/MicrosoftDocs/azure-docs/issues/82180):

    234182-image.png

    If it doesn't work it most likely is due to a issue with the sample/command as seen in https://github.com/MicrosoftDocs/azure-docs/issues/97232 (Microsoft is looking into the issue).

    -----------------------------------------------------

    If this is helpful please accept answer.