在 Azure Active Directory 门户中分配或删除许可证Assign or remove licenses in the Azure Active Directory portal

许多 Azure Active Directory (Azure AD) 服务要求针对该服务向每个用户或组(以及关联成员)授予许可。Many Azure Active Directory (Azure AD) services require you to license each of your users or groups (and associated members) for that service. 只有具有活动许可证的用户才能访问和使用符合该要求的已许可 Azure AD 服务。Only users with active licenses will be able to access and use the licensed Azure AD services for which that's true. 许可证按租户应用,不能转让给其他租户。Licenses are applied per tenant and do not transfer to other tenants.

可用许可计划Available license plans

有多个许可计划可用于 Azure AD 服务,其中包括:There are several license plans available for the Azure AD service, including:

  • Azure AD FreeAzure AD Free

  • Azure AD Premium P1Azure AD Premium P1

  • Azure AD Premium P2Azure AD Premium P2

有关每个许可计划的特定信息和关联许可详细信息,请参阅需要哪个许可证?For specific information about each license plan and the associated licensing details, see What license do I need?.

并非所有 Microsoft 服务都可在所有位置使用。Not all Microsoft services are available in all locations. 必须先为所有成员指定“使用位置” ,然后才能将许可证分配给组。Before a license can be assigned to a group, you must specify the Usage location for all members. 可以在 Azure AD 的“Azure Active Directory”>“用户”>“配置文件”>“设置” 区域中设置此值。You can set this value in the Azure Active Directory > Users > Profile > Settings area in Azure AD. 未指定使用位置的任何用户都会继承 Azure AD 组织的位置。Any user whose usage location is not specified inherits the location of the Azure AD organization.

查看许可计划和计划详细信息View license plans and plan details

可以查看可用服务计划(包括各个许可证)、检查即将到来的到期日期,以及查看可用分配数。You can view your available service plans, including the individual licenses, check pending expiration dates, and view the number of available assignments.

查找服务计划和计划详细信息的步骤To find your service plan and plan details

  1. 使用 Azure AD 组织中的许可证管理员帐户登录到 Azure 门户Sign in to the Azure portal using a License administrator account in your Azure AD organization.

  2. 选择“Azure Active Directory”,然后选择“许可证” 。Select Azure Active Directory, and then select Licenses.

    “许可证”页,显示已购买服务和已分配许可证数量

  3. 选择“已购买项” 链接可查看“产品” 页,以及查看许可计划的“已分配” 数、“可用”数 和“即将过期” 数。Select the Purchased link to view the Products page and to see the Assigned, Available, and Expiring soon numbers for your license plans.

    “服务”页,包含服务许可计划和关联的许可证信息

  4. 选择计划名称可查看其已许可的用户和组。Select a plan name to see its licensed users and groups.

向用户或组分配许可证Assign licenses to users or groups

确保使用已许可 Azure AD 服务的任何人都具有相应的许可证。Make sure that anyone needing to use a licensed Azure AD service has the appropriate license. 可将许可权添加到用户或整个组。You can add the licensing rights to users or to an entire group.

向用户分配许可证的步骤To assign a license to a user

  1. 在“产品” 页上,选择要分配给用户的许可计划的名称。On the Products page, select the name of the license plan you want to assign to the user.

    “服务”页,其中突出显示了服务许可计划

  2. 在“许可计划概览”页上,选择“分配”。 On the license plan overview page, select Assign.

    “服务”页,突出显示了“分配”选项

  3. 在“分配” 页上,选择“用户和组” ,然后搜索并选择向其分配许可证的用户。On the Assign page, select Users and groups, and then search for and select the user you're assigning the license.

    “分配许可证”页,突出显示了搜索和“选择”选项

  4. 选择“分配选项” ,确保打开了相应的许可证选项,然后选择“确定” 。Select Assignment options, make sure you have the appropriate license options turned on, and then select OK.

    “许可证选项”页,显示许可计划中的所有可用选项

    “分配许可证” 页会进行更新,以显示选择了用户并且配置了分配。The Assign license page updates to show that a user is selected and that the assignments are configured.

    Note

    并非所有 Microsoft 服务都可在所有位置使用。Not all Microsoft services are available in all locations. 必须先指定“使用位置” ,然后才能将许可证分配给用户。Before a license can be assigned to a user, you must specify the Usage location. 可以在 Azure AD 的“Azure Active Directory”>“用户”>“配置文件”>“设置” 区域中设置此值。You can set this value in the Azure Active Directory > Users > Profile > Settings area in Azure AD. 未指定使用位置的任何用户都会继承 Azure AD 组织的位置。Any user whose usage location is not specified inherits the location of the Azure AD organization.

  5. 选择“分配”。 Select Assign.

    用户会添加到已许可用户列表,并有权访问所包含的 Azure AD 服务。The user is added to the list of licensed users and has access to the included Azure AD services.

    Note

    也可以从用户的“许可证” 页将许可证直接分配给用户。Licenses can also be assigned directly to a user from the user's Licenses page. 如果用户有一个通过组成员关系分配的许可证,并且你希望直接将相同的许可证分配给该用户,那么只能从步骤 1 中提到的“产品” 页进行分配。If a user has a license assigned through a group membership and you want to assign the same license to the user directly, it can be done only from the Products page mentioned in step 1 only.

向组分配许可证的步骤To assign a license to a group

  1. 在“产品” 页上,选择要分配给用户的许可计划的名称。On the Products page, select the name of the license plan you want to assign to the user.

    “产品”边栏选项卡,突出显示了产品许可计划

  2. 在“Azure Active Directory Premium 计划 2” 页上,选择“分配” 。On the Azure Active Directory Premium Plan 2 page, select Assign.

    “产品”页,突出显示了“分配”选项

  3. 在“分配” 页上,选择“用户和组” ,然后搜索并选择向其分配许可证的组。On the Assign page, select Users and groups, and then search for and select the group you're assigning the license.

    “分配许可证”页,突出显示了搜索和“选择”选项

  4. 选择“分配选项” ,确保打开了相应的许可证选项,然后选择“确定” 。Select Assignment options, make sure you have the appropriate license options turned on, and then select OK.

    “许可证选项”页,显示许可计划中的所有可用选项

    “分配许可证” 页会进行更新,以显示选择了用户并且配置了分配。The Assign license page updates to show that a user is selected and that the assignments are configured.

  5. 选择“分配”。 Select Assign.

    组会添加到已许可组的列表,所有成员都有权访问所包含的 Azure AD 服务。The group is added to the list of licensed groups and all of the members have access to the included Azure AD services.

删除许可证Remove a license

可以从用户的 Azure AD 用户页删除许可证、从组分配的组概览页进行删除,也可以从 Azure AD 的“许可证”页开始查看许可证的用户和组。 You can remove a license from a user's Azure AD user page, from the group overview page for a group assignment, or starting from the Azure AD Licenses page to see the users and groups for a license.

从用户删除许可证的步骤To remove a license from a user

  1. 在服务计划的“许可的用户” 页上,选择应不再具有许可证的用户。On the Licensed users page for the service plan, select the user that should no longer have the license. 例如,Alain CharonFor example, Alain Charon.

  2. 选择“删除许可证” 。Select Remove license.

    “许可的用户”页,突出显示了“删除许可证”选项

Important

无法直接删除用户从组继承的许可证。Licenses that a user inherits from a group can't be removed directly. 而是必须从继承许可证的组删除用户。Instead, you have to remove the user from the group from which they're inheriting the license.

从组删除许可证To remove a license from a group

  1. 在许可计划的“许可的组” 页上,选择应不再具有许可证的组。On the Licensed groups page for the license plan, select the group that should no longer have the license.

  2. 选择“删除许可证” 。Select Remove license.

    “许可的组”页,突出显示了“删除许可证”选项

    Note

    当同步到 Azure AD 的本地用户帐户超出了同步的范围,或者当同步被删除时,该用户将在 Azure AD 中被软删除。When an on-premises user account synced to Azure AD falls out of scope for the sync or when the sync is removed, the user is soft-deleted in Azure AD. 发生这种情况时,直接分配给用户或通过基于组的许可分配给用户的许可证将标记为“已挂起” ,而不是“已删除” 。When this occurs, licenses assigned to the user directly or via group-based licensing will be marked as suspended rather than deleted.

后续步骤Next steps

分配了许可证之后,可以执行以下过程:After you've assigned your licenses, you can perform the following processes: