您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

使用 Azure Active Directory 门户分配或删除许可证 | Microsoft DocsAssign or remove licenses using the Azure Active Directory portal

许多 Azure Active Directory (Azure AD) 服务要求激活 Azure AD 产品并且针对该产品向每个用户或组(以及关联成员)授予许可。Many Azure Active Directory (Azure AD) services require you to activate an Azure AD product and to license each of your users or groups (and associated members) for that product. 只有具有活动许可证的用户才能访问和使用已许可的 Azure AD 服务。Only users with active licenses will be able to access and use the licensed Azure AD services.

可用产品版本Available product editions

有多个版本可用于 Azure AD 产品。There are several editions available for the Azure AD product.

  • Azure AD FreeAzure AD Free

  • Azure AD BasicAzure AD Basic

  • Azure AD Premium 1 (Azure AD P1)Azure AD Premium 1 (Azure AD P1)

  • Azure AD Premium 2 (Azure AD P2)Azure AD Premium 2 (Azure AD P2)

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

查看产品版本和许可证详细信息View your product edition and license details

可以查看可用产品(包括各个许可证),检查是否存在任何即将到来的到期日期和可用分配数。You can view your available products, including the individual licenses, checking for any pending expiration dates and the number of assignments available.

查找产品和许可证详细信息To find your product and license details

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

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

    “许可证” 页随即出现。The Licenses page appears.

    许可证页上,与已购买的产品和已分配的许可证的数量

  3. 选择“已购买产品” 链接可查看“产品” 页,以及查看每个特定产品版本的“已分配” 、“可用” 和“即将过期” 详细信息。Select the Purchased products link to view the Products page and to see the Assigned, Available, and Expiring soon details for each specific product edition.

    “产品”页,包含产品版本和关联许可证信息

  4. 选择产品版本名称可查看其已许可的用户和组。Select a product edition 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. 由你决定是要将许可权添加到单个用户还是整个组。It's up to you whether you want to add the licensing rights to individual users or to an entire group.

备注

基于组的许可是 Azure AD 的一项公共预览版功能,可通过任何付费 Azure AD 许可证计划获得。Group-based licensing is a public preview feature of Azure AD and is available with any paid Azure AD license plan. 有关预览版的详细信息,请参阅 Microsoft Azure 预览版补充使用条款For more information about previews, see Supplemental Terms of Use for Microsoft Azure Previews.

有关如何添加用户的详细信息,请参阅如何在 Azure Active Directory 中添加或删除用户For detailed information about how to add users, see How to add or delete users in Azure Active Directory. 有关如何创建组并添加成员的详细信息,请参阅创建基本组并添加成员For detailed information about how to create groups and add members, see Create a basic group and add members.

向特定用户分配许可证To assign a license to a specific user

  1. 在“产品” 页上,选择要分配给用户的版本的名称。On the Products page, select the name of the edition you want to assign to the user. 例如 Azure Active Directory Premium Plan 2 。For example, Azure Active Directory Premium Plan 2.

    “产品”页,突出显示了产品版本

  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 user you're assigning the license. 例如,Mary Parker 。For example, Mary Parker.

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

  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.

    备注

    并非所有 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.

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

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

向整个组分配许可证To assign a license to an entire group

  1. 在“产品” 页上,选择要分配给用户的版本的名称。On the Products page, select the name of the edition you want to assign to the user. 例如 Azure Active Directory Premium Plan 2 。For example, Azure Active Directory Premium Plan 2.

    “产品”边栏选项卡,突出显示了产品版本

  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. 例如 MDM policy - West 。For example, MDM policy - West.

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

  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.

    备注

    并非所有 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. 未指定使用位置的任何用户都会继承租户的位置。Any user whose usage location is not specified inherits the location of the tenant.

  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

可以通过“许可证” 页从用户或组删除许可证。You can remove a license from either a user or a group from the Licenses page.

从特定用户删除许可证To remove a license from a specific user

  1. 在产品版本的“许可的用户” 页上,选择应不再具有许可证的用户。On the Licensed users page for the product edition, select the user that should no longer have the license. 例如,Alain Charon 。For example, Alain Charon.

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

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

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

  1. 在产品版本的“许可的组” 页上,选择应不再具有许可证的组。On the Licensed groups page for the product edition, select the group that should no longer have the license. 例如 MDM policy - West 。For example, MDM policy - West.

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

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

重要

无法直接删除用户从组继承的许可证。Licenses inherited by a user 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.

后续步骤Next steps

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