Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Importing existing security role as a manage solution, removing privileges from extra entities

Posted on by 25

CRM 1 is having entity1 and entity2 for which i had created a security role "role1"  and defined privileges for both the entities.

CRM 2 is also having above entities(entity1 and entity2) where I imported role1 from CRM1 as a manage solution.

I have created an entity3  in CRM 2 and modified imported role namely "role1" by adding some privilege for entity3.

When i re-imports security role from CRM1 to CRM2, it modify privileges for entity1 and enitity2 also making "NONE" privilege for entity3.

Actually CRM1 is acting as a core CRM where we need to import common features as a manage solution into CRM2 which is acting as dev CRM for us.

We have another CRM for production say CRM3 where we need to import solutions whatever we develop in dev CRM.

Is there any solution where i can import roles which should affect only those entity which are common in source(CRM1) and destination(CRM2) CRM.

 

Privilege set on CRM 2

7266.Security-role.png

After re-import security role on CRM2 , it's remove privilege from ORG to NONE. 

*This post is locked for comments

  • Suggested answer
    ashlega Profile Picture
    ashlega 34,475 on at
    RE: Importing existing security role as a manage solution, removing privileges from extra entities

    It sounds like the roles won't get merged, so your managed solution from CRM1 is overwriting those unmanaged changes in CRM2. I think it may have something to do with the fact that your original managed solution does not have entity3 included into it.

    Also, I am not sure how you were planning to deploy the changes you would make in CRM2 to CRM3? Would it be a managed solution or would it be an unmanaged solution? If it's a managed solution, it can't be the same solution you've exported from CRM1, so it would have to be a different solution either way..

    Maybe you need to create that entity3 in CRM1 and make it part of the solution then. Or, another option might be to create a completely different role in CRM2.

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans