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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

"Failed to log on to Microsoft Dynamics”

(0) ShareShare
ReportReport
Posted on by 445

Hi,

We have a strange problem. All the other users can login to AX 2012 R2 normally, but one user has problems. When he tries to login, the system immediately throws error: “Failed to log on to Microsoft Dynamics”.  The user was successfully imported from AD and I checked it looks ok in AX. Any ideas where to look for solution? I have already deleted and reimported the user.

BR,

Mikko

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Denis Macchinetti Profile Picture
    16,444 on at

    Hi Mikko

    You have more Domains?

    You can check if the SID store in the Userinfo table is correct ?

  • Klaas Deforche Profile Picture
    2,433 on at

    We've had a similar problem last week (with AX 2012 FP). I couldn't make head or tails of it so I asked my colleague. He tried numerous things, nothing work. In the end he deleted the profile of that specific (under C:\Users\"). When the user logged on again, the user profile was recreated and he could log on to AX again. Maybe you should try that too (but make a copy of the profile if you can't afford to los that data).

    Edit: Now I think about it, the error was "AOS unavailable", not "failed to log on"... But anyway, worth the shot maybe. If you have the problem with the same user on multiple machines, the problem will probably not be the profile.

  • Mikko Profile Picture
    445 on at

    Hi,

    Nothing works. Userinfo is fine and I tried to delete the users-profile too. I was thinking about SID in userInfo - how can I verify that it's correct?

  • Denis Macchinetti Profile Picture
    16,444 on at

    Hi

    About the SID have a look at support.microsoft.com/.../en-us

    Also, the AX Client is install on a Remote Desktop Server or on the PC User Desktop ?

    If the last one, try to recreate the AX Client configuration between the Dynamics AX Configuration Utility

  • Verified answer
    Community Member Profile Picture
    on at

    Alternatively, if the user does not have access to the registry, whilst logged in as the user run an elevated cmd prompt (run as administrator). Then type the following in the cmdline:

    whoami /all | more

    In the first 3 lines it will show you your users SID

  • Suggested answer
    rudra Profile Picture
    6,534 on at

    Hi Mikko ,

    I think you have to edit the correct server name and port numbers in your registry.

    Please make sure in the following method to edit:-

    Win+R-->regedit-->HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dynamics\6.0\Configuration\Original or Config name You have created*

    Please find the below screenshot:-

  • Aurelio Ortega Profile Picture
    125 on at

    Hi Mikko

    Run it as Administator.

    Kind regards.

  • Community Member Profile Picture
    on at

    HI all,

    I restored the New DB into Dynamics ax 2012..after i open the dynamics ax 2012..

    it show the Failed to log on to Microsoft Dynamics..plese help me

    regards,

    joseph

  • Community Member Profile Picture
    on at

    Step 1: Run CMD as  administrator and type whoami /all | more, it will display your name and the SID. Copy out the SID.

    Step 2: Navigate to MSSQL Management Studio , locate the baseline database for AX and look for table called "dbo.userinfo", update the table with the necessary infos including the sid  or you can use the query below, modify to suit your needs.

    update userinfo set

    networkdomain = 'DomainName',

    networkalias = 'NetworkAlias',

    name = 'sam',

    SID = 'S-1-5-21-XXXXXXXX-3956443045-XXXXXX-1001'

    where ID = 'Admin'.

    I had this issue and was able to resolve it after going through some processes.

  • MYGz Profile Picture
    2,174 on at

    In my case the domain was changed so I had to just fix the SID value in the dbo.usersinfo table in MicrosoftDynamicsAX database.

    You can get the current SID value by running this in command prompt:

    whoami /all

    Check the current SID against the one in the table and if its different then update the table.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans