Announcements
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 :
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
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 ?
Hi,
Can you once try to import the solution manually and check if the issue persist?
Thanks
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,
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
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
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
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.
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
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
Hi,
Please import the required managed/unmanged solutions in the target environment and then try to deploy using the DevOps.
Thanks
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156