在 Azure Active Directory 中更改用户或组的许可证分配Change license assignments for a user or group in Azure Active Directory

本文介绍如何在 Azure Active Directory (Azure AD) 中的服务许可计划之间移动用户和组。This article describes how to move users and groups between service license plans in Azure Active Directory (Azure AD). 目标 Azure AD 的方法是确保在许可证更改期间不会丢失任何服务或数据。The goal Azure AD's approach is to ensure that there's no loss of service or data during the license change. 用户应该可以在服务之间无缝切换。Users should switch between services seamlessly. 本文中的许可计划分配步骤描述了如何将 Office 365 E1 上的用户或组更改为 Office 365 E3 用户或组,但这些步骤适用于所有许可计划。The license plan assignment steps in this article describe changing a user or group on Office 365 E1 to Office 365 E3, but the steps apply to all license plans. 更新某个用户或组的许可证分配时,删除许可证分配和添加新分配的操作会同时进行,因此,在许可证更改期间用户不会失去服务的访问权限,也不会看到计划之间发生许可证冲突。When you update license assignments for a user or group, the license assignment removals and new assignments are made simultaneously so that users do not lose access to their services during license changes or see license conflicts between plans.

开始之前Before you begin

在更新许可证分配之前,必须验证某些假设条件是否符合要更新的所有用户或组。Before you update the license assignments, it's important to verify certain assumptions are true for all of the users or groups to be updated. 如果假设条件并不符合组中的所有用户,则某些用户的迁移可能失败。If the assumptions aren't true for all of the users in a group, the migration might fail for some. 因此,某些用户无法访问服务或数据。As a result, some of the users might lose access to services or data. 请确保:Ensure that:

  • 用户的当前许可计划(在本例中为 Office 365 E1)已分配到某个组并由用户继承,而不是直接分配的。Users have the current license plan (in this case, Office 365 E1) that's assigned to a group and inherited by the user and not assigned directly.

  • 有足够的可用许可证用于所要分配的许可计划。You have enough available licenses for the license plan you're assigning. 如果没有足够的许可证,可能不会为某些用户分配新的许可计划。If you don't have enough licenses, some users might not be assigned the new license plan. 可以检查可用的许可证数目。You can check the number of available licenses.

  • 没有为用户分配可能与所需许可证冲突的,或者可能阻止删除当前许可证的其他服务许可证。Users don't have other assigned service licenses that can conflict with the desired license or prevent removal of the current license. 例如,依赖于其他服务的 Workplace Analytics 或 Project Online 等服务中的许可证。For example, a license from a service such as Workplace Analytics or Project Online that has a dependency on other services.

  • 如果通过 Azure AD Connect 在本地管理组并将其同步到 Azure AD 中,则需要使用本地系统添加或删除用户。If you manage groups on-premises and sync them into Azure AD via Azure AD Connect, then you add or remove users by using your on-premises system. 将更改同步到 Azure AD 并在组许可中拾取更改可能会花费一段时间。It can take some time for the changes to sync with Azure AD to be picked up by group licensing.

更改用户许可证分配Change user license assignments

在“更新许可证分配”页上,如果看到某些复选框不可用,则表示相应的服务不可更改,因为它们继承自组许可证。 On the Update license assignments page, if you see that some checkboxes are unavailable, it indicates services that can't be changed because they're inherited from a group license.

  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 > Users , and then open the Profile page for a user.

  3. 选择“许可证”。 Select Licenses.

  4. 选择“分配”以编辑用户或组的许可证分配。 Select Assignments to edit license assignment for the user or group. 可以在“分配”页中解决许可证分配冲突。 The Assignments page is where you can resolve license assignment conflicts.

  5. 选中 Office 365 E3 对应的复选框,并确保至少选择了分配给用户的所有 E1 服务。Select the check box for Office 365 E3 and ensure that at minimum the all of the E1 services that are assigned to the user are selected.

  6. 清除 Office 365 E1 对应的复选框。Clear the check box for Office 365 E1.

    用户的许可证分配页,其中显示已清除 Office 365 E1,并已选中 Office 365 E3

  7. 选择“保存”。 Select Save.

Azure AD 将应用新许可证,同时删除旧许可证以提供服务连续性。Azure AD applies the new licenses and removes the old licenses simultaneously to provide service continuity.

更改组许可证分配Change group license assignments

  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 > Groups , and then open the Overview page for a group.

  3. 选择“许可证”。 Select Licenses.

  4. 选择“分配”命令以编辑用户或组的许可证分配。 Select the Assignments command to edit license assignment for the user or group.

  5. 选中 Office 365 E3 对应的复选框。Select the check box for Office 365 E3. 为了保持服务连续性,请确保选择已分配给用户的所有 E1 服务。To maintain continuity of service, ensure that you select all of the E1 services that are already assigned to the user.

  6. 清除 Office 365 E1 对应的复选框。Clear the check box for Office 365 E1.

    在用户或组的“许可证”页上选择“分配”命令

  7. 选择“保存”。 Select Save.

为了提供服务连续性,Azure AD 将应用新许可证,同时删除组中所有用户的旧许可证。To provide service continuity, Azure AD applies the new licenses and removes the old licenses simultaneously for all users in the group.

后续步骤Next steps

参阅以下文章,了解通过组进行许可证管理的其他方案:Learn about other scenarios for license management through groups in the following articles: