0

There are two types of groups in Azure Active Directory:

  • Security
  • Microsoft365

enter image description here

I can create a new Security group using Azure CLI and az ad group create --display-name TEST.

  • How do I create a new Microsoft365 group using Azure CLI?
  • Is it possible?
  • If not, which CLI can I use to script this?
SeaDude
  • 3,725
  • 6
  • 31
  • 68

1 Answers1

1

Just found the answer. Apparently there is an Office365 CLI found here.

The command to create a new Azure Active Directory Microsoft 365 Group is:

  • m365 aad o365group add [options]
SeaDude
  • 3,725
  • 6
  • 31
  • 68