Patrick Lamber
Patrick Lamber Microsoft Office Development MVP

How do I provision a Team using the CLI for Microsoft 365?

The CLI for Microsoft 365 is a cross-platform command-line interface used to manage or automate Microsoft 365 resources.

This sample script shows you how to provision a Microsoft 365 team by using the CLI for Microsoft 365. You can also create a Team by using a single command like https://pnp.github.io/cli-microsoft365/cmd/teams/team/team-add/. On the other hand, it does not allow you to control the mailnickname property (which also controls the SharePoint URL in the backend). This example might also give you some inspiration how you can teamify and manipulate and existing Unified Group.

comments powered by Disqus