Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Changing Domain and user Password

(0) ShareShare
ReportReport
Posted on by 3,090

Hi Experts,

We have planned to changed domain that's means to create new domain and create new users and with different password. It will be really thankful for your valuable suggestions. I know i will change SID ID network domain in userinfo Table and change the passwords you also suggest me. But this thing is certain we are going to change this domain.

Best Regards,

Shabir Ahmad

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 on at
    RE: Changing Domain and user Password

    Hi Shabir,

    You can either create a SQL query or an x++ job to disable the users.

    The re-enablement should be done on the form or with an x++ job. During the update method, there is some x++ logic which will connect to AD and syncs the SID based on the alias and the domain.

  • Shabir Ahmad Profile Picture
    Shabir Ahmad 3,090 on at
    RE: Changing Domain and user Password

    Hi André Arnaud de Calavon ,

    Thanks for your kind suggestion. Ok i will use that domain administrator ID to do any kind of operations. You mean to say that in SQL  Server(userinfo table) NETWORKDOMAIN will be changed for old backup as well as NAMEALIAS .

    One thing more:

    create a script to have all users disabled (except the current user logged in)(how to create a script (do you in SQL server)

    When re-enabling the users, the AX logic will retrieve the new SID per user automatically.( What does that mean??

    should i do it manually to change all user SID ID(in SQL SERVER userinfo table) or by creating new users in domain will do it automatically.

    Appreciate your kind suggestions

    Best Regards,

    Shabir Ahmad

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 on at
    RE: Changing Domain and user Password

    Hi Shabir,

    In addition to the information provided above:

    If an administrator has access on the new domain, there might be a more easy workaround to update other users. With a script you can update the NETWORKDOMAIN and when required also the NAMEALIAS. Then from the UI, or create a script to have all users disabled (except the current user logged in). When re-enabling the users, the AX logic will retrieve the new SID per user automatically.

  • Martin Dráb Profile Picture
    Martin Dráb 231,309 Most Valuable Professional on at
    RE: Changing Domain and user Password

    Look at previous discussions and blog posts on this topic. You can find a few links here, for example.

  • Suggested answer
    vinitgoyal2005 Profile Picture
    vinitgoyal2005 6,330 on at
    RE: Changing Domain and user Password

    Hi,

    I am not sure what is the question but Check dynamicsessentials.net/.../

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans