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 :
Customer experience | Sales, Customer Insights,...
Answered

How to export/import a security role to another environment

(0) ShareShare
ReportReport
Posted on by 10

i am trying to move some of security roles to another environment.

but it is too much hassle for me to set a param one by one (like an attachment )

is there any easier way like import/export csv?

i coud find the solution about D365 Human Resources but not for Sales

Sorry for not good my English.

Thank you.

pastedimage1640595701501v1.png

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,064 on at

    Hi,

    Please refer to the following thread.

    (+) Updating security roles using a solution. - Microsoft Dynamics CRM Forum Community Forum

  • Verified answer
    Ram Prakash Duraisamy Profile Picture
    2,289 on at

    Hi Noriyuki

    Hope you are doing good.

     Please follow below steps to export and import

    1. Navigate to your organization

    2. Click Gear icon at the top select advance settings

    3. Navigate to solution and create a solution

    4. Once solution created click Security Roles then add your security roles

    5. Once done publish all Customization and click export and export as manged or Unmanaged based on your needs

     

    That's it :-)

    Please mark as answer if it is helpful

  • Suggested answer
    Bipin D365 Profile Picture
    28,985 Moderator on at

    Hi,

    Take help from your developer to add your security role which you are modifying in a solution. once security role is added, export the solution and import it into your target enviornment.

    You don't have to manually update each privileges.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    Hicham GRC Profile Picture
    200 on at

    Hi,

    If you want to deploy the security roles related to the root business unit, it's simple.

    You create an unmanaged solution , then you add the roles you want to deploy in your target environment, and finally export the solution and import it in the other environment.

    In xrmtoolbox, you can use the tool "Export Security Role" but only for the extract.

    Hope this will help.

    KR,

    Hicham

  • Noriyuki Profile Picture
    10 on at

    Sorry for the late answer

    Thank you for your kindness

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans