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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Active Discussion

Migrating AX 2012 R3 to new domain

(0) ShareShare
ReportReport
Posted on by 499

Hi

In need of suggestions/steps or a prescribed document to move the AX 2012 R3 application from one domain to other.

there is no upgrades in the application .

In our organisation only domain has been changed.

  • nmaenpaa Profile Picture
    101,172 Moderator on at
  • Asif365 Profile Picture
    1,431 on at

    You must have the required knowledge in SQL Server, your Windows Server environments and of course some AX 2012 architecture understanding, before, migrate make sure you have the separate environment on new-domain.

    Identify separate environments for Pre and Post Migration environments to carry out any verification that is required as part of migration.

    1- Copy production database from one Active Directory domain to different production Active Directory domain environment.

    2- Restore the Prod-database and set proper SQL permissions on destination.

    Changing the Microsoft Dynamics AX users account to new Domain Account information.

    4-  In the SQL management studio run the following queries on the BusinessData Database (AXProdNEW):

    DELETE FROM SYSSERVERCONFIG

    DELETE FROM SYSSERVERCONFIG

    5 Find out user information: select SID, Networkdomain, networkalias from userinfo

    where networkalias = ‘useralias’

    6- Open CMD with “Run as admin” and type:

    wmic useraccount where (name='your_windows_username' and domain='your_domain') get name,sid

    Example: wmic useraccount where (name='administrator' and domain='contoso') get name,sid

    7-Copy the SID to notepad.

    8- In the SQL management studio run the following query on the BusinessData Database (AXProd_New):

    UPDATE USERINFO

    SET SID='your_sid', NETWORKALIAS='your_windows_username', NETWORKDOMAIN='your_domain', NAME='your_name'

    WHERE ID = 'Admin'

    Ex:

    UPDATE USERINFO

    SET SID='S-1-5-xx-xxxxx-xxxxxxxx-xxxxxx-xxxx', NETWORKALIAS='administrator', NETWORKDOMAIN='contoso', NAME='ABC'

    WHERE ID = 'Admin'

    Note: Please always think about Rollback Plan, In case of any issues while carrying out the migration or if there is a migration failure at any point of time during migration, then it should be possible for the system to roll back.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 658 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 632 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 570

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans