Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

how to deploy a security role from dev to test

Posted on by 167

we have created a new security where users were not allowed to modify the customization ,

we need to deploy this into test environment , can anyone please help me regarding this.

Thanks in advance....

*This post is locked for comments

  • Suggested answer
    Pawar Pravin  Profile Picture
    Pawar Pravin 5,227 on at
    RE: how to deploy a security role from dev to test

    Hi Teddykrish,

    You can deploy security roles in two ways

    1. 

    To deploy security roles from dev to test you need to login with System administrator 

    After login into crm using system admin, navigate to Settings -> Solutions

    Create new solution and add those security roles that you want to deploy. Once adding it into solution do publish and export -> import it into test environment.

    3757.Capture.JPG

    2. Else you can use Xrmtoolbox to deploy security roles as well.

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: how to deploy a security role from dev to test

    Hi,

    Security roles can be deployed like all other components in CRM (eg, Entities), so just prepare a solution, from Add Exiting --> Security Roles and pick the required roles. then export to import into your Test environment

  • Suggested answer
    Charles Abi Khirs Profile Picture
    Charles Abi Khirs 3,569 on at
    RE: how to deploy a security role from dev to test

    Hello,

    What type of security you need?

    If it is security roles or field security profiles, please follow the instructions suggested by others

    If it is teams or business units records, you have to migrate the data from one environment to anther. To do this, I suggest to use the "Data Transporter" plugin of XrmtoolBox to help you transfer entity records between different environments: www.xrmtoolbox.com/.../Colso.Xrm.DataTransporter

  • Suggested answer
    RE: how to deploy a security role from dev to test

    316716_5F00_securityroledepoyment.png

    Create a New Solution, navigate to Security Roles section, click on Add Existing. Add the security roles you want to deploy between environments. Then usual solution export & import process. 

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: how to deploy a security role from dev to test

    Very basic. I would recommend you spend sometime understanding CRM basics. docs.microsoft.com/.../solutions-overview  

    there is a thing called "solutions" in dynamics CRM using which you move your customisation from one environment to other.

    you can do this for now :

    settings > solutions > create solution > give it a name and version and chose the publisher. > from left side click on security role > add existing > select the role and click okay > save and close the solution > from solution area select the solution > click on export > export as managed or unamanged as per your choide > open target environment > go to solutions > click on import > chose the file > click next till last page and you will see the solutions deployed and its component - publish the customizations.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans