Azure / azure-cli

Azure Command-Line Interface
MIT License
3.99k stars 2.97k forks source link

Create new security group in Azure AD #18253

Open ctolkien opened 3 years ago

ctolkien commented 3 years ago

Currently, az ad group create mandates that you must provide a mail-nickname. This effectively means that you cannot create a security group.

In the AAD UI: image

In the Powershell system, there is a boolean flag for "MailEnabled"

https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadgroup?view=azureadps-2.0

yonzhan commented 3 years ago

@jiasli for awareness