I´m setting up pipelines in Azure Devops for the first time.
It will be an application user that is set up in Power Platform which automatically imports/exports the solution from Azure Devops.
How to set the owner of the flows that I´m importing to an environment? Will the owner of the flow be the application user? The flow owner needs to have a premium license as we are using premium connectors.
Thx!
Hi @Kranis (copy: @parvezghumra)
I do not know what happened, I replied to this post a couple of days ago, which is no more here. In that response, I also provided a powershell snippet of my pipeline action. However, this time i will just leave it to the reader, but providing the way to solve
In the release pipeline, after a managed solution is imported into target environment, it is possible to reassign all workflows, actions, business process flows and cloud flows, using a powershell script. Script should go through all components of imported solution, filtering by componenttype being workflow. Using the objectid of those workflow components query CRM workflow table and reassign to a the needed user (service account). Because pipeline is running with an SPN (App User), the workflow component is, unless already imported in previous release, is owned by SPN. When workflow record is reassigned in CRM, its corresponding cloudflow is also reassigned to the corresponding owner.
Kindly do like/thumbs up if the solutions solves your challenge. I can be connected in linked here
@Kranis You need to get your Azure DevOps release pipelines to perform the solution import/upgrade steps using the dedicated/shared Service Account user that is licensed (rather than a Service Principal/Application User). This will ensure that this Service Account is the natural owner of the Cloud Flows
WarrenBelz
75
Most Valuable Professional
mmbr1606
51
Super User 2025 Season 1
MS.Ragavendar
36