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)

How to Create a new AX User using SQL Server

(0) ShareShare
ReportReport
Posted on by 435

Hi there,

can you please guide me how to create a new AX User using SQL Server.

I have restored database in Sql server, but the user from which i logged is not a  AX User, i want to add it manually from Sql Server.

Thanks

Regards. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vilmos Kintera Profile Picture
    46,149 on at

    You cannot (or more precisely: should not) create new records for an AX database outside of AX, due to unique Record identifiers, Record versioning and a whole lot of other reasons.

    You could change an existing user account there though by overriding the network alias (your AD login), and network SID within the record as a temporary fix. They typically do this for the default Admin userid. You may find more details on this if you use a search engine of your choice.

  • Suggested answer
    Hassan_rulz Profile Picture
    3,801 on at

    Hi Altaf,

    You can only replace existing users with your user through SQL.

    If you need help how to replace user through SQL then let me know.

    Regards,

    Hassan

  • Mohammed Altaf Profile Picture
    435 on at

    Yes Please guide me how to replace my user with existing user.

    thanks

    Regards.

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Googling "ax change user sid" gave a first-page-first-hit result...

    community.dynamics.com/.../change-the-sid-domain-for-a-user

    You could have done the same, please rely more on your own skills for finding help.

  • Mohammed Altaf Profile Picture
    435 on at

    Thanks @Vilmos Kintera

    thanks for your valuable reply and

    thanks also for your suggestion

    Regards.

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