how to change my password

Hudson-Phillips, Jennifer 5 Reputation points
2026-09-07T13:54:02.4733333+00:00

I get to my assigned Virtual Desktop, click CONNECT, messag is that I need to change password before proceeding.

Azure Virtual Desktop
Azure Virtual Desktop

A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.

0 comments No comments

2 answers

Sort by: Most helpful
  1. kagiyama yutaka 5,330 Reputation points
    2026-09-08T03:25:24.18+00:00

    I think AVD shows that screen when the directory password expired, and for Entra ID you update it at myaccount.microsoft.com and sign in again, and for on‑prem AD you need an admin reset.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-09-07T13:54:21.2033333+00:00

    If the assigned Virtual Desktop prompts for a password change before connection, use one of these supported paths:

    1. If the sign-in page provides a password change link, use it.
      • Enter the current password.
      • Enter the new password and confirm it.
      • If the new password is rejected, it does not meet the domain length, complexity, or history requirements.
    2. If the account is a work or school account and the current password is still known, change it in the My Account portal:
      • Go to myaccount.microsoft.com.
      • Select Change Password.
      • Enter the old password, then the new password, and submit.
      • Sign in again with the new password.
    3. If the password is expired and there is no password change option, or the old password is not accepted, contact the Active Directory administrator to reset or unlock the account.
    4. For Azure VM-based Windows sessions, an administrator can reset the password from Azure:
      • In Azure portal, open Virtual machines.
      • Select the Windows VM.
      • Open Help > Reset password.
      • Choose Reset password, enter the username and new password, then select Update.
      • Try connecting again.

    If the issue is specifically the Windows VM error "You must change your password before logging on the first time", the documented fix is to change that account password first. For Azure VMs with a healthy guest agent, this can be done through Run Command using:

    • Local account: net user <USERNAME> *
    • Domain account: net user <USERNAME> * /domain

    Warning: password reset actions change sign-in credentials and should be performed carefully. For VM troubleshooting steps that modify access, create a snapshot of the OS disk first.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.