Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Unanswered

How to specify the owner of the flow in Azure Devops pipelines?

(0) ShareShare
ReportReport
Posted on by 11

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!

  • rise to distinction Profile Picture
    12 on at
    Re: How to specify the owner of the flow in Azure Devops pipelines?

    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

  • Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on at
    Re: How to specify the owner of the flow in Azure Devops pipelines?

    @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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 75 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 51 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard