问题描述
Azure Active Directory 中有两种类型的组:
- 安全
- 微软365
我可以使用 Azure CLI 和 Security
创建一个新的 az ad group create --display-name TEST
组。
- 如何使用 Azure CLI 创建新的
Microsoft365
组? - 有可能吗?
- 如果没有,我可以使用哪个 CLI 来编写脚本?
解决方法
刚刚找到答案。显然有一个 Office365 CLI
found here。
创建新 Azure Active Directory Microsoft 365 组的命令是:
m365 aad o365group add [options]