Administrators 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
If you're not an administrator and you need instructions on how to reset your own work or school password, see Reset your work or school password.
Unless your tenant is the home directory for a user, you won't be able reset their password. This means that if your user is signing in to your organization using an account from another organization, or a Microsoft account, you won't be able to reset their password.
If your user has a source of authority as Windows Server Active Directory, you'll only be able to reset the password if you've turned on password writeback and the user domain is managed. Changing the user password for federated domains is not supported. In this case, you should change the user password in the on-premises Active Directory.
If your user has a source of authority as External Microsoft Entra ID, you won't be able to reset the password. Only the user, or an administrator in that tenant, can reset the password.