使用 Azure Active Directory 重置用户的密码Reset a user's password using Azure Active Directory

如果忘记密码、设备遭锁定用户无法使用,或用户从未收到密码,管理员可以重置用户的密码。As an administrator, you can reset a user's password if the password is forgotten, if the user gets locked out of a device, or if the user never received a password.

Note

除非你的 Azure AD 租户是用户的主目录,否则你无法重置用户的密码。Unless your Azure AD tenant is the home directory for a user, you won't be able reset their password. 这意味着,如果用户使用另一个组织中的帐户、Microsoft 帐户登录到你的组织,则你无法重置其密码。This means that if your user is signing in to your organization using an account from another organization, a Microsoft account, you won't be able to reset their password.

如果用户使用外部 Azure AD 作为授权来源,则你无法重置密码。If your user has a source of authority as External Azure AD, you won't be able to reset the password. 只有用户或外部 Azure AD 中的管理员可以重置密码。Only the user, or an adminsitrator in External Azure AD, can reset the password.

Note

如果你不是管理员,只想获得有关如何重置你自己的工作或学校密码的说明,请参阅重置工作或学校密码If you're not an administrator and are instead looking for instructions about how to reset your own work or school password, see Reset your work or school password.

重置密码To reset a password

  1. 以用户管理员或密码管理员身份登录到 Azure 门户Sign in to the Azure portal as a user administrator, or password administrator. 有关可用角色的详细信息,请参阅在 Azure Active Directory 中分配管理员角色For more information about the available roles, see Assigning administrator roles in Azure Active Directory

  2. 选择“Azure Active Directory” ,选择“用户” ,搜索并选择需要重置的用户,然后选择“重置密码”。 Select Azure Active Directory, select Users, search for and select the user that needs the reset, and then select Reset Password.

    此时将显示“Alain Charon - 个人资料” 页面,其中包含“重置密码” 选项。The Alain Charon - Profile page appears with the Reset password option.

    用户的个人资料页面,其中突出显示了“重置密码”选项

  3. 在“重置密码” 页面中,选择“重置密码” 。In the Reset password page, select Reset password.

    Note

    使用 Azure Active Directory 时,会自动为用户生成临时密码。When using Azure Active Directory, a temporary password is auto-generated for the user. 使用本地 Active Directory 时,会为用户创建密码。When using Active Directory on-premises, you create the password for the user.

  4. 复制该密码并将其提供给用户。Copy the password and give it to the user. 用户在下次登录过程中需要更改密码。The user will be required to change the password during the next sign-in process.

    Note

    临时密码永不过期。The temporary password never expires. 用户下次登录时,密码仍将有效,不管从生成临时密码后已经过去了多长时间。The next time the user signs in, the password will still work, regardless how much time has passed since the temporary password was generated.

后续步骤Next steps

重置用户的密码后,可以执行以下基本流程:After you've reset your user's password, you can perform the following basic processes:

还可以执行更复杂的用户方案,例如,分配委托、使用策略,以及共享用户帐户。Or you can perform more complex user scenarios, such as assigning delegates, using policies, and sharing user accounts. 有关其他可用操作的详细信息,请参阅 Azure Active Directory 用户管理和文档For more information about other available actions, see Azure Active Directory user management documentation.