I'm creating a New Security group in azure powershell.
The wizard asks me for a DisplayName and...for a MailNickname and I can't understand why.
Thanks
I'm creating a New Security group in azure powershell.
The wizard asks me for a DisplayName and...for a MailNickname and I can't understand why.
Thanks
Thank you Theo. Posting your suggestion as an answer to help other community members.
DisplayName
and MailNickname
both are required parameters.
New-AzADGroup
New-AzADGroup -DisplayName <String> -MailNickname <String> [-Description <String>]
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
DisplayName
The display name for the group.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
MailNickname
The mail nickname for the group. Cannot contain the @ sign.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
You can refer to New-AzADGroup