首页 > 解决方案 > 在 Azure 和 MailNickname 中创建安全组

问题描述

我正在 azure powershell 中创建一个新的安全组。向导要求我提供一个 DisplayName 和...一个 MailNickname,我不明白为什么。 电源外壳

谢谢

标签: azurepowershell

解决方案


谢谢西奥。_ 发布您的建议作为帮助其他社区成员的答案。

DisplayName两者MailNickname都是必需的参数。

新阿兹德集团

New-AzADGroup -DisplayName <String> -MailNickname <String> [-Description <String>]
 [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]

显示名称

组的显示名称。

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

邮件昵称

组的邮件昵称。不能包含 @ 符号。

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

可以参考New-AzADGroup


推荐阅读