快速入门:在 Azure Active Directory 中查看组织的组和成员Quickstart: View your organization's groups and members in Azure Active Directory

可以使用 Azure 门户查看组织的现有组和组成员。You can view your organization's existing groups and group members using the Azure portal. 组用于管理需要对可能受限的应用和服务的拥有相同访问权限和许可权限的所有用户(成员)。Groups are used to manage users (members) that all need the same access and permissions for potentially restricted apps and services.

本快速入门介绍如何查看组织的所有现有组和分配的成员。In this quickstart, you’ll view all of your organization's existing groups and view the assigned members.

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

先决条件Prerequisites

在开始之前,需要:Before you begin, you’ll need to:

登录到 Azure 门户Sign in to the Azure portal

必须使用目录的全局管理员帐户登录到 Azure 门户You must sign in to the Azure portal using a Global administrator account for the directory.

创建一个新组Create a new group

创建名为“MDM 策略 - 西部”的新组。Create a new group, named MDM policy - West. 有关创建组的详细信息,请参阅如何创建基本组并添加成员For more information about creating a group, see How to create a basic group and add members.

  1. 依次选择“Azure Active Directory”、“组”、“新建组”。Select Azure Active Directory, Groups, and then select New group.

  2. 填写“组”页:Complete the Group page:

    • 组类型: 选择“安全性”Group type: Select Security

    • 组名称: 键入 MDM policy - WestGroup name: Type MDM policy - West

    • 成员身份类型: 选择“分配”。Membership type: Select Assigned.

  3. 选择“创建” 。Select Create.

创建新用户Create a new user

创建名为 Alain Charon 的新用户。Create a new user, named Alain Charon. 在将某个用户添加为组成员之前,该用户必须事先存在。A user must exist before being added as a group member. 有关创建用户的详细信息,请参阅如何添加或删除用户For more information about creating a user, see How to add or delete users.

  1. 依次选择“Azure Active Directory”、“用户”、“新建用户”。Select Azure Active Directory, Users, and then select New user.

  2. 填写“用户”页:Complete the User page:

    • 名称: 键入 Alain Charon。Name: Type Alain Charon.

    • 用户名: 键入 alain@contoso.com。User name: Type alain@contoso.com.

  3. 复制“密码”框中提供的自动生成的密码,然后选择“创建”。Copy the auto-generated password provided in the Password box, and then select Create.

添加组成员Add a group member

创建组和用户后,可将 Alain Charon 作为成员添加到“MDM 策略 - 西部”组。Now that you have a group and a user, you can add Alain Charon as a member to the MDM policy - West group. 有关添加组成员的详细信息,请参阅如何添加或删除组成员For more information about adding group members, see How to add or remove group members.

  1. 选择“Azure Active Directory” > “组”。Select Azure Active Directory > Groups.

  2. 在“组 - 所有组”页中,搜索并选择“MDM 策略 - 西部”组。From the Groups - All groups page, search for and select the MDM policy - West group.

  3. 在“MDM 策略 - 西部概述”页中,从“管理”区域选择“成员”。From the MDM policy - West Overview page, select Members from the Manage area.

  4. 选择“添加成员”,然后搜索并选择“Alain Charon”。Select Add members, and then search and select Alain Charon.

  5. 选择“选择”。Choose Select.

查看所有组View all groups

可在 Azure 门户的“组 - 所有组”页中查看组织的所有组。You can see all the groups for your organization in the Groups - All groups page of the Azure portal.

  • 选择“Azure Active Directory” > “组”。Select Azure Active Directory > Groups.

    此时会出现“组 - 所有组”页,其中显示了所有活动的组。The Groups - All groups page appears, showing all your active groups.

    “组 - 所有组”页,其中显示了所有现有的组

搜索组Search for the group

搜索“组 - 所有组”页,找到“MDM 策略 - 西部”组。Search the Groups - All groups page to find the MDM policy - West group.

  1. 在“组 - 所有组”页上的“搜索”框中键入 MDMFrom the Groups - All groups page, type MDM into the Search box.

    搜索结果将显示在“搜索”框下面,其中包括“MDM 策略 - 西部”组。The search results appear under the Search box, including the MDM policy - West group.

    已填写搜索框的“组 - 所有组”页

  2. 选择“MDM 策略 - 西部”组。Select the group MDM policy - West.

  3. 在“MDM 策略 - 西部概述”页上查看组信息,包括该组的成员数目。View the group info on the MDM policy - West Overview page, including the number of members of that group.

    包含成员信息的“MDM 策略 - 西部概述”页

查看组成员View group members

找到组后,可以查看所有已分配的成员。Now that you’ve found the group, you can view all the assigned members.

  • 从“管理”区域中选择“成员”,然后查看分配到该特定组的完整成员名称列表,包括“Alain Charon”。Select Members from the Manage area, and then review the complete list of member names assigned to that specific group, including Alain Charon.

    分配到“MDM 策略 - 西部”组的成员列表

清理资源Clean up resources

本文档的“操作方法指南”部分中的多个操作流程都使用了此组。This group is used in several of the how-to processes that are available in the How-to guides section of this documentation. 但是,如果你不想要使用该组,可使用以下步骤删除该组以及分配到其中的成员:However, if you'd rather not use this group, you can delete it and its assigned members using the following steps:

  1. 在“组 - 所有组”页上,搜索“MDM 策略 - 西部”组。On the Groups - All groups page, search for the MDM policy - West group.

  2. 选择“MDM 策略 - 西部”组。Select the MDM policy - West group.

    此时会显示“MDM 策略 - 西部概述”页。The MDM policy - West Overview page appears.

  3. 选择“删除” 。Select Delete.

    随即会删除该组及其关联的成员。The group and its associated members are deleted.

    “MDM 策略 - 西部概述”页,其中突出显示了“删除”链接

    Important

    这不会删除用户 Alain Charon,而只会删除他在该组中的成员身份。This doesn't delete the user Alain Charon, just his membership in the deleted group.