Skip to main content

Unable to log on to Microsoft Dynamics AX

Unable to log on to Microsoft Dynamics AX” error message when opening the AX client”

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 scenario also occurred, 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("AXAdmin")

$strSID = $AdObj.Translate([System.Security.Principal.SecurityIdentifier])

$strSID.Value


Copy the Sid and paste it in following SQL statement.

update userinfo set
networkdomain = 'dynamicsdomain.com',

networkalias = 'AXAdmin',

name = 'rizwan',

SID = 'S-1-5-21-221833333-146633334-54333339715198-145333

where ID = 'Admin'

Comments