web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to specify the own...
Power Apps
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!

I have the same question (0)
  • Parvez Ghumra Profile Picture
    1,579 Moderator on at

    @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

  • rise to distinction Profile Picture
    12 on at

    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

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 429 Most Valuable Professional

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard