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

  • Mohammed Altaf Profile Picture
    Mohammed Altaf 435 on at
    RE: How to Create a new AX User using SQL Server

    Thanks @Vilmos Kintera

    thanks for your valuable reply and

    thanks also for your suggestion

    Regards.

  • Verified answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: How to Create a new AX User using SQL Server

    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
    Mohammed Altaf 435 on at
    RE: How to Create a new AX User using SQL Server

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

    thanks

    Regards.

  • Suggested answer
    Hassan_rulz Profile Picture
    Hassan_rulz 3,801 on at
    RE: How to Create a new AX User using SQL Server

    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

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: How to Create a new AX User using SQL Server

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans