Currently somehow the other I was unable to log on my local vm, and I used another user to log on and try to connect with dynamics Ax. I got the Error “Unable to log on to Microsoft Dynamics AX” error message when opening the AX client”
On Searched found that have to made User as admin on Dynamics Ax and then log in with it.
This scenerio also occured, when dynamics ax back restored on local vm. where Development environment user is not register in other environment.
This is two step process. First have to get User sid on domain. This is done by using power shell script.
I used following script run in powershell to get user sid.
$AdObj = New-Object System.Security.Principal.NTAccount("dynamicAdmin") $strSID = $AdObj.Translate([System.Security.Principal.SecurityIdentifier]) $strSID.Value
Copy the Sid and paste it in following SQL statement.
update userinfo set networkdomain = 'dynamicworld.com', networkalias = 'dynamicAdmin', name = 'alirazazaidi', SID = 'S-1-5-21-221833333-146633334-54333339715198-145333 where ID = 'Admin'
After executing update statement, user successfully log in Dynamics Ax 2012 client.