Skip to main content
Community site session details

Community site session details

Session Id : dp9RtEKLl5I6RNWb71AyWX
Power Apps - Power Apps Governance and Administ...
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 4 Jul 2019 22:40:52 by

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.

Set-AdminPowerAppOwner

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.

 

Thanks

 

  • redleo85 Profile Picture
    17 on 05 Jul 2019 at 09:09:46
    Re: How to change the name of app owner - I know PowerShell cmdlet - it gives error

    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:

    Get-PowerAppEnvironment

    You get the PowerApp Name from the following command:

    Get-PowerApp

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

    You get the user id through a call to AzureAD.

    Connect-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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Featured topics

Loading complete