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)

"Error in getting sid" error when changing values in Tools -> options -> Status bar in Dynamics AX 2012

(0) ShareShare
ReportReport
Posted on by 1,023

Hi,

In Dynamics AX 2012, while doing changes in Tools -> options -> Status bar and after i am saving, i am getting error "error in getting sid" and cant save the changes.Although i have given the correct sid in the UserInfo table.

Any help on this issue is highly appreciated.

Thanks,

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    You might have some issues with the UAC. Can you try to start the AX client using the Run as administrator?

  • Suggested answer
    Denis Patrakov Profile Picture
    on at

    In case you have the "admin" userId in AX, SysUserSetup form tries to update your SID every time you update your settings. It uses network alias and domain name to find out the "actual" SID and if it fails (for instance, your current SID in AX is valid but your network alias/domain name are not) it might compliant like "invalid arguments passed to getUserSid". A workaround here is to create another user with System Administrator role and change its SID to yours while also clearing the "admin"'s SID.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi

    I've seen the problem before. Consider the following case.

    The administrator of AX imports your user and you can start working in AX.

    The system administrator alters your information (e.g. your name) in Active Directory after your user is imported into AX.

    Then you will experience the SID error.

    The resolution is to verify that your user is imported from the AD again.

    Hope this helps you.

  • Srinath Sundaresan Profile Picture
    510 on at

    This happens when either the SID,network alias or network domain for the admin user in Userinfo table is incorrect.

    You can check the table using the query

    select SID, NETWORKDOMAIN, NETWORKALIAS, * from UserInfo where Id = 'Admin'

    You can correct using

    update USERINFO set SID = 'SID', NETWORKDOMAIN = '', NETWORKALIAS = '' where Id = 'Admin'

    You can obtain the SID entering whoami /user in cmd

  • Suggested answer
    Community Member Profile Picture
    on at

    I got the same error, but i just disabled and enable the user it released the new SID.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    This might be a very late reply but will post it for those who are experiencing the same issue until now.

    My scenario is the same as Muhammad Yasir's. When changing values in Tools >> Options, I get an infolog saying "Error in getting SID".  

    (A small observation before arriving to my solution...)

    I am using a laptop and this machine is joined to our office domain. I just noticed that I encounter this error whenever I am at home (out of the domain). 

    (My solution...)

    I tried connecting to our company VPN and was able to change the values in Tools >> Options form.

    Hope this helps...

  • Suggested answer
    Ariston J. Profile Picture
    on at

    Hi,

    1. You need to make sure that User SID is correct, you can see and change individual SID in SQL Server , Open Microsoft Dynamics AX Database and go to SysUserInfo Table and look for SID Column.
    2. Open Microsoft Dynamics AX Client and you need to make sure that User NetworkDomain and NetwokAlias are correct based on your current Domain Controller. Check the UserInfo Table under AOT > System Documentation > Tables > User Info.

    Regards,
    Ariston J.

  • HenrikSE Profile Picture
    on at

    [quote user="Naveed Akbar"]

    I got the same error, but i just disabled and enable the user it released the new SID.

    [/quote]Wow, such an easy fix. Thanks for sharing!

    I've been having an issue when editing a claims based user's networkDomain and/or networkAlias, where the old SID would stop the users from entering Enterprise Portal. This solved it!

  • Rik Claeys Profile Picture
    on at

    Same issue, solved by disable/enable in edit users within AX.

  • Krishna Kodidala Profile Picture
    465 on at

    ---------------------------

    when I update userinfo table with quiery 

    update USERINFO set SID = 'SS-1-5-21-3713439090-2302833719-3392514820-1114', NETWORKDOMAIN = '', NETWORKALIAS = '' where Id = 'Admin'

    the below error is coming

    Login error
    ---------------------------
    Failed to log on to Microsoft Dynamics.

    ---------------------------
    OK 
    ---------------------------

    now admin user is blocked and unable to login

    please help

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