为 Azure Active Directory 中的组命名策略Quickstart: Naming policy for groups in Azure Active Directory

本快速入门将在 Azure Active Directory (Azure AD) 组织中为用户创建的 Microsoft 365 组设置命名策略,以便对组织的组进行排序和搜索。In this quickstart, you will set up naming policy in your Azure Active Directory (Azure AD) organization for user-created Microsoft 365 groups, to help you sort and search your organization’s groups. 例如,可以将命名策略用于:For example, you could use the naming policy to:

  • 传达组的功能、成员身份、地理区域或创建组的人员。Communicate the function of a group, membership, geographic region, or who created the group.
  • 有助于对通讯簿中的组进行分类。Help categorize groups in the address book.
  • 阻止组名和别名中使用特定字词。Block specific words from being used in group names and aliases.

如果没有 Azure 订阅,可在开始前创建一个试用帐户If you don't have an Azure subscription, create a Trial before you begin.

在 Azure 门户中配置组命名策略Configure the group naming policy in the Azure portal

  1. 使用用户管理员帐户登录到 Azure 门户Sign in to the Azure portal with a User administrator account.

  2. 选择“组”,然后选择“命名策略”,以便打开“命名策略”页。Select Groups , then select Naming policy to open the Naming policy page.

    在管理中心打开“命名策略”页

查看或编辑前后缀命名策略View or edit the Prefix-suffix naming policy

  1. 在“命名策略”页上,选择“组命名策略”。On the Naming policy page, select Group naming policy.
  2. 可以单独查看或编辑当前的前缀或后缀命名策略,只需选择需要在命名策略中强制实施的属性或字符串即可。You can view or edit the current prefix or suffix naming policies individually by selecting the attributes or strings you want to enforce as part of the naming policy.
  3. 若要从列表中删除某个前缀或后缀,请选择该前缀或后缀,然后选择“删除”。To remove a prefix or suffix from the list, select the prefix or suffix, then select Delete. 可以同时删除多个项。Multiple items can be deleted at the same time.
  4. 选择“保存”,以便对策略所做的更改生效。Select Save for your changes to the policy to go into effect.

查看或编辑自定义阻止字词View or edit the custom blocked words

  1. 在“命名策略”页上,选择“阻止字词”。On the Naming policy page, select Blocked words.

    编辑并上传命名策略的阻止字词列表

  2. 查看或编辑自定义阻止字词的当前列表,方法是选择“下载”。View or edit the current list of custom blocked words by selecting Download.

  3. 上传自定义阻止字词的新列表,方法是选择文件图标。Upload the new list of custom blocked words by selecting the file icon.

  4. 选择“保存”,以便对策略所做的更改生效。Select Save for your changes to the policy to go into effect.

就这么简单。That's it. 现已设置了命名策略,并添加了自定义阻止字词。You've set your naming policy and added your custom blocked words.

清理资源Clean up resources

使用 Azure 门户删除命名策略Remove the naming policy using Azure portal

  1. 在“命名策略”页上,选择“删除策略”。On the Naming policy page, select Delete policy.
  2. 确认删除之后,将会删除命名策略,包括所有前缀-后缀命名策略和任何自定义阻止字词。After you confirm the deletion, the naming policy is removed, including all prefix-suffix naming policy and any custom blocked words.

后续步骤Next steps

本快速入门介绍了如何通过 Azure 门户设置 Azure AD 组织的命名策略。In this quickstart, you’ve learned how to set the naming policy for your Azure AD organization through the Azure portal.

请转到下一篇文章以获取详细信息,包括用于命名策略的 PowerShell cmdlet、技术限制、添加自定义阻止字词的列表,以及跨 Microsoft 365 应用的最终用户体验。Advance to the next article for more information including the PowerShell cmdlets for naming policy, technical constraints, adding a list of custom blocked words, and the end user experiences across Microsoft 365 apps.