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 / Missing dependencies o...
Power Apps
Unanswered

Missing dependencies on tables

(1) ShareShare
ReportReport
Posted on by 10

Dear guys,

I have two different applications in two different solutions under one Dataverse environment (Sandbox). Now, I need to import one of the applications (a canvas app) to a Dataverse for Teams environment (because of the licensing model) . The canvas app uses some cloud flows which are dealing with some Dataverse columns in the second applications (custom model-driven app Approvals).

Obviously, I have dependencies on the tables from Approvals app. I tried to add them as existing ones with just metadata but this introduces more dependencies. If I try "Add all required objects" or Add existing app with all objects, it leads to other dependencies ending almost with the whole Approvals app to bring into canvas app solution which makes no sense.

 

Part of the solution.xml file:

<MissingDependency>
<Required type="1" schemaName="kmits_approvalssettings" displayName="Approvals settings" solution="Active" />
<Dependent type="1" schemaName="kmits_approvalssettings" displayName="Approvals settings" />
</MissingDependency>

Any ideas how to overcome this issue? What is the right procedure?

Thank you.

Categories:
I have the same question (0)
  • Sunil Pashikanti Profile Picture
    736 Moderator on at

    Hi @PavelChadima,

     

    Handling missing dependencies when importing solutions in PowerApps can be tricky, especially when dealing with tables and apps across different environments. Let’s explore some steps to overcome this issue:

     

    Add Required Objects:
    Open your solution in the source environment (where your canvas app resides).
    Click on the three dots next to your app within the solution.
    Select “Advanced” and then choose “Add Required Objects.”
    This action will automatically add all the necessary components (including tables) to your solution.


    Connection References:
    If you’re still facing missing dependencies, consider checking connection references.
    In the source environment, select “Add Existing,” then “More,” and finally “Connection Reference.”
    Choose the connection references related to the missing dependencies.


    Review Solution.xml:
    Examine the solution.xml file to ensure that the dependencies are correctly defined.
    The <MissingDependency> section you provided should match the actual dependencies in your solution.


    Test Import:
    After making the necessary adjustments, export your solution from the source environment.
    Import it into the target Dataverse for Teams environment.
    Verify that the dependencies are resolved correctly.

     

    Remember that the right procedure might vary based on your specific app and environment setup.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Sunil Pashikanti - Tech Blog: PowerApps

  • PavelChadima Profile Picture
    10 on at

    Dear Sunil,

     

    thank you for your insight. I have already tried with Add required objects. It added the tables which are used by PA flow launched from the canvas app. It makes sense but this brought more and more dependencies and finally I may have added the whole solution which is not desired.

    I am wonderring when you target from the canvas app a different environment (that is possible with Dataverse connector) it realy means you need to bring all components from another environment which are used in conenction with the canvas app? This does not make sense..

    The workaround is just to export the canvas app without cloud flows and flows to create directly from Teams but this is weird as it makes other exports and imports complicated.

    Pavel

  • robindirect Profile Picture
    6 on at

    Got solution, because i am also facing the same.

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard