web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Recreating missing system security roles

(0) ShareShare
ReportReport
Posted on by

Is there a way to recreate the missing system security roles in an organization?

I have a CRM organization by name QA created in which a system security role (Vice President of Marketing) is missing. I'm trying to import a solution into this organization and one of the form in this solution has dependency on the missing security role. I get the following message

"The import of the solution <solution name> failed. The following components are missing in your system and are not included in the solution. Import the managed solution that contains these components (system) and then try importing this solution again."

 

I tried without success the following approaches to recreate the role...

1. Included the missing security role in solution and tried import. Failed with a message on Dependencies Calculation "The requested record was not found or you do not have sufficient permissions to view it." 

2. Created a temp unmanaged solution to include the missing security role and imported the solution. Solution imported successfully but the role was not created.

3. Created the role using code to match the exact role in a working environment. Solution validation failed while import with the initial error message.

4. Exported the security role records from a working environment and tried importing to QA. Data import failure.

5. Created a new security role and renamed it to one of the missing security role. Updated the role template id to match that of the system security role. (I know this won't work but still )

 

I'm running out of options on this one and would like to know if there is anything possible other than recreating the environment.

 

Thanks,

Sunil

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    Can you just remove that dependency from the form and import solution. Once imported, you can create security role by copying existing security role related to marketing and do the necessary tweaks. I think that will work.

    Mansoor

  • Community Member Profile Picture
    on at

    Thanks for the reply. That was a workaround suggested and seems to work.

    But we are looking for a permanent fix as to recreate the missing system security role so that any solution import in the future won't have this issue if there is a dependency on system security role.

    Thanks,

    Sunil

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans