How To Reset A Password In Azure AD

 

Resetting a password is a frequent task in a Windows environment. For businesses that use Active Directory(AD), the password is reset in the system you used to manage it. That is the Azure AD portal for us at the present time of writing.

Resetting A Password In Azure Portal

With admin credentials, go to https://portal.azure.com and log in if it asks you. Select “Azure Active Directory” under the Azure Services section.

In the top search bar, search for the user that you need to help. Select their name from the search results. On the very top line, select “Reset Password”. A field will appear on the right of your window.

In this field, choose your password according to your policy. Then hit reset. You will want to copy this password to your clipboard and send to the user. The user will be required to change their password after the next sing in.

Resetting The Password With Powershell

Resetting a password with powershell is a superior method if you have many tasks to do. This required a Windows machine that is in your domain, an admin account with the proper credentials, and RSAT tools installed.

We can turn RSAT tools on in the “Windows Features” section of your applications if you have Windows professional or Enterprise. This is in your control panel. We can also download them from Microsoft.

You will need to import the AD module into your powershell session. Then you can use the next lines in your console to change the user’s password securely.


$pw = ConvertTo-SecureString “Welcome1!!” -AsPlainText -Force 
Set-ADAccountPassword -Identity jmoore -NewPassword $pw –Reset
Set-ADUser -Identity jmoore -ChangePasswordAtLogon $true

These commands have other parameters you can use. Some environments will have different requirements. This method will also force the user to reset their password when they first log on.

Conclusion

This article goes over resetting a password. We are using the Azure AD system, so this is how we reset a password for a user. I show how to do this using the portal for Azure and also the way in powershell.