Skip to main content

Notifications

Microsoft Dynamics AX forum
Answered

How to Create a new AX User using SQL Server

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. 

  • 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,147 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,147 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.

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,682 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,000 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Featured topics

Product updates

Dynamics 365 release plans