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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans