How do we restrict users from creating teams.

IniobongNkanga-8038 266 Reputation points
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 Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
651 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,230 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.
5,404 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,820 questions
0 comments No comments
{count} vote

1 answer

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

    Hi @IniobongNkanga-8038

    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.