Microsoft Teams provisions using PowerShell
-
15-02-2021 - |
Domanda
I am trying to provision the Microsoft Teams using PowerShell scripts.
Is there any way that we can do that.
If yes please provide the sample scripts or supporting articles
Soluzione
You can use the New-PnPTeamsTeam
command to create a new Team.
To use that, you can do that as below:
Connect-PnPOnline -Scopes "Group.ReadWrite.All"
and then
New-PnPTeamsTeam -DisplayName "<Your-team-name>"
Reference - New-PnPTeamsTeam
If you want to add additional parameters like owner, team settings etc. just follow the link above. You need to be a Global admin or use an account with similarly high permissions to execute this command as it creates a SharePoint team site, Office 365 group and Team ofcourse.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange