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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Solution Import Fails ...
Power Apps
Unanswered

Solution Import Fails due to missing dependency: Role

(0) ShareShare
ReportReport
Posted on by 80

Hello,

I am attempting to import a solution from a Dev environment to a Test environment and am getting the following error:

Carrie_L_0-1668700222464.png

 

The security role DOES in fact exist in my test (target) environment and the settings are identical to the role in my source environment.

 

Administration Mode is disabled in both environments. I am able to see the 'missing role' in xrmtoolbox.  I also ensured that the version of exported solution is greater than the solution in the target environment.

I am at wits end...!

 

Any suggestions?

@AhmedSalih  

 

 

Categories:
I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,678 Moderator on at

    @CarrieSperls, in the development environment, in the solution that you are moving to the testing environment, add your custom security role:

    AhmedSalih_0-1668703394227.png

     

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

  • CS-24071844-0 Profile Picture
    80 on at

    Hi @AhmedSalih!

     

    Sorry! I misread your initial post (frazzled brain syndrome).  It worked!

     

    YOU ARE MY HERO!!! Thank you thank you thank you....

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    @CarrieSperls, don't create it again, just add it inside the solution and then export the solution and reimport it to the testing environment.

     

  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Happy to always help you @CarrieSperls  🙂

  • Justcru Profile Picture
    43 on at

    Hello there,

    i know this is a older thread but I am currently encountering the same issue as the OP.

    When I follow the provided solution I am not getting the result I want ....The custom security role gets imported as well and now my target environment has the same security role twice. One is managed and one is unmanaged.

    I cannot delete the managed one which was imported by the solution (which makes sense).

     

    Any ideas what I might be doing wrong?

    Best regards,

    Cru

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard