3 Simple Ways To Change The Owner Of A Power Apps App

If the owner of a Power Apps app left your company and you need to transfer it to a new owner you’ve come to the right place. This set of step-by-step instructions will help you quickly re-assign the ownership of an app. There are 3 ways to change an app owner: by creating a Power Automate flow, writing a PowerShell script or using the Center Of Excellence Starter Kit. Review your options below and choose the method that is the easiest for you.

Table of Contents
  • Introduction: The Inventory App
  • Gathering Information Needed To Change The Power Apps App Owner
  • Obtain The Environment ID
  • Get The Power Apps App ID
  • Find The New Owner’s User Account Object ID
  • Method 1: Change Power Apps App Owner With A Flow
  • Method 2: Change Power Apps App Owner With PowerShell
  • Method 3: Change Power Apps App Owner Using The Center Of Excellence Starter Kit

Introduction: The Inventory App

The Inventory App is used by warehouse workers at a clothing retailer to keep track of inventory levels.

Unfortunately, the canvas app’s owner left the company so we need to transfer ownership to another account.

Gathering Information Needed To Change The Power Apps App Owner

To change the owner of a Power Apps app we will need to gather 3 pieces of information:

  • Environment ID from the Power Apps maker portal
  • App ID from the Power Apps maker portal
  • User Account Object ID from Azure Active Directory

Obtain The Environment ID

Open make.powerapps.com and open the settings menu. Choose developer resources.

The Environment ID will appear in the developer resources menu.

Get The Power Apps App ID

Go to the Apps menu in the maker portal, select the three dots beside the app then click Details.

The App ID will appear in the Details menu.

Find The New Owner’s User Account Object ID

Login to portal.azure.com and search for the user account you want to transfer ownership to. In this case we will make a user called Power Platform Service Account the Owner.

The Object ID will appear in the user’s profile.

Method 1: Change Power Apps App Owner With A Flow

The first way we can change the owner of a Power Apps app is by building a flow to transfer ownership. Create a new Power Automate flow with an instant trigger. Name the flow Change App Owner, select Manually trigger a flow then click Create.

Add the flow action Power Apps For Admins – Set App Owner with the following parameters and fill in the environment name, Power App Name and New PowerApp Owner with the unique identifiers we gathered earlier.

Run the flow.

The Power Platform Service Account now owns the app.

Method 2: Change Power Apps App Owner With PowerShell

If you like to use PowerShell for automating administrative tasks there is a robust library of Power Apps cmdlets including a cmdlet to set the Power App owner. Open the Windows PowerShell ISE and Run as administrator.

Create a new script called ChangeAppOwner.ps1…

…and paste the following code into the text editor. Switch the environment name, app name and new app owner with your own information then press the green play button to execute the script.

$EnvironmentName = 'Default-f1b8b509-50a4-4a5c-8e48-bf3d3e7c10ed' $AppName = '3b328263-ef5e-4db8-b360-d74eb474b8af' $NewAppOwner = '6857d910-10c3-485e-a492-6456ce2f1625' Set-AdminPowerAppOwner –AppName $AppName -AppOwner $NewAppOwner –EnvironmentName $EnvironmentNameCode language: PHP (php)

The Power Platform Service Account is now the app owner.

Method 3: Change Power Apps App Owner Using The Center Of Excellence Starter Kit

The Power Apps Center Of Excellence Starter Kit offers the easiest way to change a Power Apps App owner. Open the canvas app called Admin – App Permission Center that is included in the CoE Starter Kit. Browse to the app’s environment, select the app from the list and then click Add Permissions.

Search for the new app owner and select their user account from the list. Change the Selected User Role to Owner and press Save.

The Power Platform Service Account is now the app owner.

Did You Enjoy This Article? 😺

Subscribe to get new Copilot Studio articles sent to your inbox each week for FREE

Enter your email address

Sign Me Up

Questions?

If you have any questions about 3 Simple Ways To Change The Owner Of A Power Apps App please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion.

Tag » How To Change Owner Powershell For Powerautomate Application