Create new Microsoft Team using PowerShell
In this post, we will go through the steps for how to create a new Microsoft Team.
To gets started the Microsoft Teams PowerShell module needs to be installed first, steps on how to install the Microsoft Teams PowerShell module can be found here: http://www.thatlazyadmin.com/install-microsoft-teams-powershell-module/
Once the Microsoft Teams Module has been installed continue by establishing a connection to Microsoft teams.
Before we continue let’s make sure that we have the latest version of Microsoft Teams PowerShell Module by running the following.
Update-Module MicrosoftTeams
Type Y and press enter to continue
If you don’t have the latest version of Microsoft Teams Module one will download and install.
Now that the module is update to date, run the following to connect to Microsoft Teams.
Connect-MicrosoftTeams
Enter your Global Admin or Teams Administrator credentials.
To create the new Team, type the following.
New-Team -DisplayName “That Lazy Admin Moderators” -Visibility Private
The following will be displayed once the Teams has successfully been created.
To get a list of all the Teams in your Tenant, run the following.
Get-Team
#HappyTeams
Be First to Comment