I designed a CI/CD pipeline on Azure DevOps which enables a no touch deployment experience (DEV => TST => UAT => PRD). I am using Azure DevOps task PowerPlatformDeployPackage V2, which gives me maximum control and flexibility and enables me to easily add a few custom operations targeting the Power Platform (mainly Dataverse).
Occasionally the deployment appears to break in this task and the logging offers very little useful details regarding the context/cause, which makes it very hard to debug. E.g. this occurs when solution import is blocked due to missing dependencies. In those cases no details are logged. Up to now my only option in these cases is to attempt a manual import of the solution and download and analyse the error log. (Am I missing something here, anyone better ideas how to tackle this in a more efficient way?)
Another common cause for this task to break is when an Exception is raised somewhere in my custom code. The deploy package task seems to always break whenever een exception is thrown, even when it is fully handled! (try...catch does not help here.) Again no details are logged, so trouble shooting in these scenarios turns out to be hard.
The logging I get in Azure DevOps looks like this:
I'm using that PPBT task. I'm finding detailed logs are output to a pipeline artifact - these will details of the missing dependencies.
WarrenBelz
637
Most Valuable Professional
stampcoin
570
Super User 2025 Season 2
Power Apps 1919
473