Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Bulk assign Security Roles to large user population

Posted on by Microsoft Employee

I am familiar with XRM Toolbox and have used it for smaller scale bulk adds, but we have a situation where we need to add a newly created Security Role to 1000's of users.

Is there any way this can be done?  .csv imports or PowerShell?

Any help would be greatly appreciated 

Categories:
  • Suggested answer
    meelamri Profile Picture
    meelamri 13,198 User Group Leader on at
    RE: Bulk assign Security Roles to large user population

    Hi, 

    You will be able to use a cloud flow of power automaton with an excel that contains your users and their associated roles.

    You will be able to be inspired by these tutorials:

    https://flowaltdelete.ca/2020/05/25/adding-security-roles-and-field-security-profiles-to-users-in-cds-using-power-automate/

    https://www.serverlessnotes.com/docs/automating-cds-role-assignments-using-power-automate

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans