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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.