Skip to main content

Notifications

Microsoft Dynamics CRM forum
Unanswered

Package Deployer error : Missing dependency, how to check ?

Posted on by

Hi guys,

When I deploy a package using DevOps task : Power Platform Deploy Package, I'm having too many Missing Dependency error. The package it self already contain a bunch of package (solutions) that  needed for my apps, and based on the ImportConfig already sorted in the correct order. I believe I saw it also in DevOps log, it is looking at the ImportConfig file where it should.

But somehow it is still showing "Missing  dependency error" like this one : 

pastedimage1647501665016v1.png

May I know how to know exactly which object it is found missing dependency ? As the error is very very long, firstly I want to know from the experienced people here, how usually we handle this ? Secondly, I think based on the so many error, there is some procedure that I missed.

Kindly advice,

Thanks

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    yes, just did it using Package Deployer, and it is said "skipped" because it is already loaded, so all the packages in the list are skipped. But when I open the log, it is the same exact error dependency as the one when using DevOps.

    Is this some kind of false alert ?

  • Pulkit_Srivastava Profile Picture
    Pulkit_Srivastava 170 on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    Can you once try to import the solution manually and check if the issue persist?

    Thanks

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    If in Power apps admin center, then go to the target environment and click Resources -> PowerApps, yes, there are bunch of apps and I believe there some which is newly imported by my DevOps which is then returning those error. So it is look like the apps are installed anyway.

    But I'm sorry, I cannot see the relation to the error. Anything I should do next ?

    Thanks,

  • Pulkit_Srivastava Profile Picture
    Pulkit_Srivastava 170 on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi

    I found something related to the MobileOfflineMembership

    linnzawwin.blogspot.com/.../exporting-mobile-offline-profile-as.html

    CanvasAppEntityExtensionSolution (9.1.21035.210331004)

    Please Check if you target environment is having canvas apps as application in the powerapps admin center

    785642.Capture.PNG

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    Thank you very much, I think I will learn new thing here.

    Anyway I did look as your advice, and found something weird (not recognized) which is ->

     

         <MissingDependency>

           <Required key="0" type="1" schemaName="canvasappextendedmetadata" displayName="CanvasApp Extended Metadata" solution="CanvasAppEntityExtensionSolution (9.1.21035.210331004)" />

           <Dependent key="1" type="1" schemaName="businessunit" displayName="Business Unit" />

         </MissingDependency>

         <MissingDependency>

           <Required key="2" type="1" schemaName="teammobileofflineprofilemembership" displayName="TeamMobileOfflineProfileMembership" solution="MobileOfflineMembership (1.0.0.2)" />

           <Dependent key="3" type="1" schemaName="team" displayName="Team" />

         </MissingDependency>

    In highlighted red font, I'm not sure what solution is that. And I can't find it in the source environment either, but it did says missing.

    Try to google a bit : https://docs.microsoft.com/zh-hk/dynamics365/customer-engagement/web-api/canvasappentityextensionsolution?view=dynamics-ce-odata-9, but cannot get what is that.

    Thanks

  • Pulkit_Srivastava Profile Picture
    Pulkit_Srivastava 170 on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    Yes you are right, to find out the exact list of dependencies extract the solution file and then open the solution.xml file, there are the dependency list and you can figure out what's missing. :)

    Thanks

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    Noted, but how do I know what has been missing exactly ?

    Based on the error, it says "Message: Missing dependency node has solution name is set to Active for solution : AAAFoundation", this only mean that AAAFoundation solution has a dependency to other solution which set to Active, am I right to say that ? But not clear what is it. I am truly sorry, but actually I'm new to this CE stuff. And this package is from my Dev environment which have a lot of solution so I can't justify which one is needed to install (outside the solutions that already included in my package)

    Thanks again.

  • Pulkit_Srivastava Profile Picture
    Pulkit_Srivastava 170 on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    You can use DevOps, however looking at the error in the logs it seems to be missing out some solution which is required by your solution XML file.

    Thanks

  • VoltesDev Profile Picture
    VoltesDev on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    Meaning to say we cannot use DevOps : Power Platform Deploy Package to a new target environment ? Actually we want to eliminate the manual import and replace it with DevOps only, so this is a try out.

    How actually we may know which object that produce that error ? When it says "Missing dependency node..", which node exactly.....? because supposedly in that package already contain all the required managed/unmanaged solution, and as mentioned it is already put in orderly manner based on the ImportConfig.xml inside the package.

    Thanks

  • Pulkit_Srivastava Profile Picture
    Pulkit_Srivastava 170 on at
    RE: Package Deployer error : Missing dependency, how to check ?

    Hi,

    Please import the required managed/unmanged solutions in the target environment and then try to deploy using the DevOps.

    Thanks

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans