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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Security: Import Users-Roles assignment

(0) ShareShare
ReportReport
Posted on by 12

Hey There,

So far I haven't seen any import functionality to import users to roles assignment.

I know I can assign manually via System Administration > Security > Assign users to roles, and of course I can select multiple users per role at once, however, we just imported 1200 users (the entire company). And assigning them one by one (or five by one) is quite a task.

Is there any other way than manually assigning all the users to roles?

For instance: AX2012 always had an import/export functionality.
It exported an Excel file that showed the Users as Rows and the Roles as Columns, and by putting an 'x' in a 'cell', the import functionality knows how to assign the users to the roles.

Thanks in advance!

I have the same question (0)
  • Suggested answer
    mhdshb1 Profile Picture
    1,250 on at

    Hi

    You can use Data entity User information (SystemSecurityUserRoleAssociationEntity) to bulk import using the standard Data management framework.

    This is an example of exported data.

    pastedimage1574167963890v1.png

    I hope this helps

    Regards,

    M

  • WGZ Profile Picture
    12 on at

    Thanks for the fast reply. Ok this is exactly what I need indeed. However, it seems that I can only export these entities to for instance another database or so. Is there any way I can export such an entity to Excel, enrich it, and then import it again?

    If not, how can I enrich the data within SystemSecurityUserRoleAssociationEntity with my User-Role info of 1200 people?

    Kind regards

  • Suggested answer
    mhdshb1 Profile Picture
    1,250 on at

    Yes of course you can. 

    For Import you can go to Data Management workspace > Import > Fill the mandatory fields 

    In the selected entities you can add a file in  your case it is excel file, then Import.  

    Below is an example of country/region entity. 

    pastedimage1574173418448v1.png

    For more information you can check this link for Data management framework 

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/data-entities-data-packages

  • André Arnaud de Calavon Profile Picture
    301,088 Super User 2025 Season 2 on at

    Hi WGZ,

    Mohammad is fully correct. Note that there is also an entity to do the organization assignments on top of the user role assignments.

    Have you also had a look at automatic role assignment? It could be very useful. I have experience dealing with this in an environment with over 2000 legal entities and over 1000 users. I wrote some blogs about it in the past and I'm working on an actual version of it (Dynamics 365) which will be released soon.

    Have a look at my previous blogs already for an initial inspiration.

    dynamicspedia.com/.../

    dynamicspedia.com/.../

  • mhdshb1 Profile Picture
    1,250 on at

    Hi WGZ,

    Please let us know if we answer your question. If yes, may you kindly verify the answer. As this would be beneficial to other people who might be facing similar issues.

    Regards,

    M

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans