Showing results for 
Search instead for 
Did you mean: 
New Member

How to change the name of app owner - I know PowerShell cmdlet - it gives error

How to change the name of app owner - I know PowerShell cmdlet - it gives error. So please don't provide a link to the Page where all cmdlets are listed. 


I use this cmdlet interactively.


It asks for AppName, EnvironmentName and AppOwner.

What should I supply? AppName has space - do I put into double quotes? same with EnvironmentName.

Or Do enter AppID and Environment UniqueID? Whar should be entered for AppOwner? O365 Login ID? Display name ? Anyone who has tried this, please provide the above details. I will really appreciate it.




Frequent Visitor

You need to supply the relevant names, which to most people look more like IDs.


You get the EnvironmentName from the list of the following command:


You get the PowerApp Name from the following command:


What you are probably refering to as the AppName is actually the DisplayName.

You get the user id through a call to AzureAD.

$user = Get-AzureADUser -searchstring [e-mail-address]

Then you can call the command you know:

Set-AdminPowerAppOwner -AppName [AppName] -EnvironmentName [EnvironmentName] -Owner $user.ObjectId

[AppName] and [EnvironmentName] should look something like xxxxxxxxx-xxxxx-xxxxxx-xxxxx-xxxxx


Hope this helps

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (79,517)