WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Unprocessed solution components #250

Open lar-mar opened 3 years ago

lar-mar commented 3 years ago

When I import a managed solution containing Flows using the Power DevOps task "Import solution" I get an error for all contained flows "0x80040216 {"error":{"code":"MissingUserDetails","message":"The user details for tenant id '#guid#' and principal id '#guid#' doesn't exist."}}"

All these Workflow Activations steps are marked as "Processed" but all solution components below are marked as "Unprocessed". image

image

When I import the managed solution manually it is processed successfully and as I imported it using the maker portal I cannot download any import logfile.

First I thought the behavior is maybe caused by a process changed described in this article: https://dynamicsjourney-wordpress-com.cdn.ampproject.org/c/s/dynamicsjourney.wordpress.com/2020/04/14/the-solution-import-log-file-shows-unprocessed-for-all-processes-and-web-resources/amp/ What I'm wondering is the fact that an error message is logged but the flows are marked as processed and that always all solution components below the "Workflow Activation" as marked as unprocessed.

Anybody else who experiences such an behavior?

WaelHamze commented 2 years ago

@lar-mar thanks for sharing, did you try to download the logfile using a powershell script for the import using the maker portal and compare?