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 Automate
Suggested Answer

Power automate flow

(2) ShareShare
ReportReport
Posted on by Microsoft Employee
How to grant a user access to edit all Flows in the Environment?
The previous editor/owner of these Flows is no longer with the company.
Categories:
I have the same question (0)
  • trice602 Profile Picture
    16,164 Super User 2026 Season 1 on at
    Hi,
     
    You can do this with PowerShell and here is some sample code to review.
     
    # Install the required module
    Install-Module -Name Microsoft.PowerApps.Administration.PowerShell -AllowClobber -Force
    Install-Module -Name Microsoft.PowerApps.PowerShell -AllowClobber -Force
    
    # Import the module
    Import-Module -Name Microsoft.PowerApps.Administration.PowerShell
    Import-Module -Name Microsoft.PowerApps.PowerShell
    
    # Login to Power Platform
    Add-PowerAppsAccount
    
    # Get list of flows in the environment
    $environmentName = "your-environment-name"
    $flows = Get-AdminFlow -EnvironmentName $environmentName
    
    # Assign new owner to each flow
    $newOwnerEmail = "newowner@example.com"
    foreach ($flow in $flows) {
        Add-AdminFlowOwnerRole -EnvironmentName $environmentName -FlowName $flow.FlowName -PrincipalObjectId (Get-AzureADUser -ObjectId $newOwnerEmail).ObjectId -RoleName CanEdit
    }
    
     
     

    If this was helpful, please like and/or mark this post as a solution to help others find it too!



    Always glad to help! 💯💯💯💯💯

    Tom

    Follow on LinkedIn - you cannot have enough Power Automate connections (1) Thomas Rice, PMP | LinkedIn


     
  • Suggested answer
    David_MA Profile Picture
    14,347 Super User 2026 Season 1 on at
    If you don't want to use the PowerShell that trice602 listed that changes the owner of the flows in the environment, which I am not sure is what you want to do, you can do this:
    1. Go to the admin center https://admin.powerplatform.microsoft.com/ 
    2. Choose the environment.
    3. In the Access panel click See all under Users.
    4. Find the user in the list or use the search feature to find them, and then click on their name.
    5. Choose Manage roles and give them these permissions in addition to Basic User:

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard