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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Changing the Primary O...
Power Automate
Unanswered

Changing the Primary Owner of a Cloud Flow Programatically

(1) ShareShare
ReportReport
Posted on by 28
Hi everyone, 
 
Need your assistance and guidance here.
 
We have a user that just left the organization and he owns several flows in our solution, which has more than 300 cloud flows.
 
I have tried to change the ownership of the flow using PowerShell (Set-AdminFlowOwnerRole and Remove-AdminFlowOwnerRole) or through Power Automate Management actions, however it does not seem to work. We have multiple developers working on this solution and it is very common that flows are created and owned by their individual account. Has anyone been able to change the primary owner of the flows programmatically in any way, in the same way that it can be done by the user interface?
 
I am also looking to change the majority of the flows ownership to a service principal, hence I would need this to not to have to do it manually. Any help would be highly appreiciated. 
Categories:
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    Did you try Power Automate Management actions?
     
  • FlyingTuga1 Profile Picture
    28 on at
    Yes, I did, it only adds co-owners but does not set a new primary owner. I'm looking for a way to that does the same as this button:
     
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
  • FlyingTuga1 Profile Picture
    28 on at
    Hi @SudeepGhatakNZ, thanks for your replies. I was totally rude and forgot to mark as a solution. Using the Cloud Flows does not work, unfortunately.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard