How do we restrict users from creating teams.

IniobongNkanga-8038 991 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.
Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Dillon Silzer 60,736 Reputation points Volunteer Moderator
    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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.