Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Changing the VM axloca...
Finance forum

Changing the VM axlocaladmin password

(0) ShareShare
ReportReport
Posted on by 35

I've been searching for the information on how to change the axlocaladmin (or other sql user passwords) for the virtual machine with no luck.

I noticed that the passwords cannot be changed from the LCS and understood that they should be changed within the VM but what are the steps exactly? 

Thank you in advance,

Mika Hartio

Categories:
  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Changing the VM axlocaladmin password

    I would say the easiest and cheapest path is to deploy a new machine and hope that the password on that machine doesn't have "=" sign.

    If you change the password on an existing VM, you will break any maintenance activity (such as installing a platform update) that LCS attempts to do.

  • Mikaharx Profile Picture
    Mikaharx 35 on at
    RE: Changing the VM axlocaladmin password

    Dear Blue,

    I am aware of these threads. However, the general suggested solution (J:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -decrypt "J\AOSService\webroot\web.config") does not work for me as I get an error message in the cmd stating that the license has been expired.

    André states in the thread you linked that:

    "there can be an issue when the password contains a '=' character. This is something that is fixed in a later version. You can check if you have such password for the SQL user(s) and possibly try to change it. Or deploy a new VM, hoping for a password generation without this character."

    This is exactly why I am looking for how to actually change the password.

    Best regards,

    Mika

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Changing the VM axlocaladmin password

    Hi Mika,

    Other threads have discussed this issue.

    community.dynamics.com/.../884431

  • Mikaharx Profile Picture
    Mikaharx 35 on at
    RE: Changing the VM axlocaladmin password

    Dear Blue,

    I would like to change the password because I am facing the following error:

    "Microsoft.Dynamics.AX.InvalidConnectionStringException: Failed to set database connection string. ---> System.ArgumentException: The value's length for key 'password' exceeds it's limit of '128'."

    I'm trying to find out how to manually change the password.

    (My demo environment is expired and thus the decryption of the web config file does not work for the error above)

    My system apparently runs a version that occasionally faces this error when the VM password contains the letter "=".

    Thanks,

    Mika

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Changing the VM axlocaladmin password

    Hi Mika,

    Did you change it because the password prompt expired?

    [View:https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/231075/lcs-environment---axlocaladmin-password-update:750:50]

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans