Hi Folks,
Please follow the below steps to get the dynamics ax database to work in a different domain.
Step 1. Restore the different domain database into your domain sql server machine.
Step 2. Add your AX user to the database you restored.
Step 3. Edit or update the “userinfo” table from the restored database in your sql server.
Step 4. Find the row with ‘Admin’ Id
Step 5. Edit or update the SID with your machine domain user <SID>(To get the SID for one domain user and all domain user will be shown below)
Step 6. Edit or update the NetworkDomain with your <network domain>
Step 7. Edit or update the NetworkAlias with your <AX logged in user>
Step 8. Edit or update the name with your <user id>
To get the SID:-
SID for the current logged in domain user, please type the following in your command prompt--> C:\> whoami /user
SID for all domain users, please type the following in your command prompt--> wmic useraccount get name,sid
or
By the following sql query also you can change all the above:-
use {AX DB}
update USERINFO
set SID = '{paste the SID here from step#2}', NETWORKDOMAIN='{Network domain}', NETWORKALIAS='{User Id}' where ID='Admin'
After updating with the above steps, then you can map the new restored database with the AOS server configuration utility and then start the service, once the service started then try to open the AX. You will be able to logged into AX application.
Many Thanks,
Rudra
"Helping others without any expectation will always made the others to help you"