Create a Team using PowerShell

As a first step, install the Microsoft Teams PowerShell module.

Open PowerShell as an Admin and run the cmdlet Install-Module -Name MicrosoftTeams

Then run Connect-MicrosoftTeams

And the popup of the sign-in page will appear. Enter your credentials to connect.

Run the following cmdlet to create a new Team. The below example has a display name and MailNickName “Name of your team” and the team is public. You can change the values and use your own input.

After you run the cmdlet you will  have the result:

Was this article helpful?

Related Articles

Leave A Comment?