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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Automatically import the users from "outside" of D365

(0) ShareShare
ReportReport
Posted on by 6,480

Hello,

Is it possible to import and assign Sys Admin role to an user with SQL script or similar?

We have an enviornment which is updated sometimes with Golden Config data. In golden config we do not have users that we are using for automatic testing.

We use 3rd party tool for automatic tests where we can't define any "Person related" user, but just a test user which will not be in any other GC, Prod, etc enviornemnt.

So, after the golden DB is transfered to this test environment we should somehow create / import the test user in the system.

Any suggestions?

Thanks

I have the same question (0)
  • Suggested answer
    nunomaia Profile Picture
    25 Moderator on at

    You have several ways to do that :

    1. SQL Script in sandbox environment.

    2. OData using Postman (  my personal choice most of the times )

          

  • Johnny Profile Picture
    6,480 on at

    Thanks for the reply.

    Could not find any resources.

    Could you please maybe share some link where it is detailed?

  • nunomaia Profile Picture
    25 Moderator on at

    Andre posted a nice article to manage security using Data Management, for example by importing from Excel.

    dynamicspedia.com/.../

    You can access the same data entity using odata by REST Operation.  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 470

#3
Adis Profile Picture

Adis 270 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans