web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics AX 4.0 moving from one domain to another

(0) ShareShare
ReportReport
Posted on by 115

Back in 2009 I had to move our Dynamics install from one domain to another.

I had the luxury of having the AOS and database servers on both domains so it was a simple add users with the new domain and cutover.

Now I have to move the AOS and database to a new domain and I DO NOT have the luxury of being able to join the domains.

I've been trying to find out how I can add a new domain user to the database tables to allow that user to log in and add all the other new domain users.

Does anyone know all the tables I need to touch in the database to add this user?

I do have the domain user SID in the new domain. I tried adding them to sysuserinfo, userinfo, and usergrouplist tables with the same made up recid.

Any help out there??

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Brandon Wiese Profile Picture
    17,790 on at

    At the very least you must keep your Admin account functional in order to start the AOS properly.  Thus, you will have to replace the SID on the UserInfo record for the Admin account, typically pointing this to a domain administrator account or whatever makes sense to you.  You may have to SQL this change, along with the NetworkDomain and NetworkAlias fields, in order to align Admin with your new domain.

  • Suggested answer
    Brandon Wiese Profile Picture
    17,790 on at

    On a side note, I have moved an AOS between domains.  If you can manage to make the domain user names the same where only the domain name itself is different, then this change can be very fast.  First, use SQL to update the NetworkDomain field for all of the appropriate UserInfo records that are moving.  Then, log in as Admin, and for each user un-check the Enabled box, and then re-check the Enabled box.  This fetches the new SID for the user in the new domain, after which that user can logon normally.  This can also be accomplished in a small code loop on a job.

  • James Anderson Profile Picture
    115 on at

    So I should try shoving the SID, domain user, and domain in the Admin account record?

    (userinfo table?)

  • Verified answer
    Brandon Wiese Profile Picture
    17,790 on at

    If you can do so in a copy/testing environment, yes I believe you should try that.  It should give you the one foothold account you need on the new domain to add the rest of the users before completing the switch.

  • James Anderson Profile Picture
    115 on at

    I wish I could set up the trust between the two domains. However it violates several policies and firewall rules.

    I used the trust method back in 2009 - it works.

    I'll try the userinfo update later this week and see if that works

  • James Anderson Profile Picture
    115 on at

    So updating the userinfo table with the SID, Name, domain and nickname fields worked.

    I can start the Dynamics Ax client. I have a new problem and will post it separately if I can't find an answer

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans