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 Platform Community / Forums / Power Apps / Which rights/plan is r...
Power Apps
Unanswered

Which rights/plan is requireing to execute powershell commands?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

At present I have "PowerApps for Office365" plan assigned, and I am not an environment maker, however I am local administrator on the machine as well as App Owner.

 

Would you please share what would I need to execute following command?

 

Set-AdminPowerAppApisToBypassConsent

 

At present, I am facing following errors:

unable to run command.png

 

Also, How can I check my current rights on PowerApps ? What is the least privileges require to run Set-AdminPowerAppApisToBypassConsent?

 

Thanks,

 

 

Categories:
I have the same question (0)
  • Dave Wi Profile Picture
    on at

    Looks like only Global Administrator can execute this command regardless any PowerApps license, however I am not 100% sure.

     

    Thanks,

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    According to our documentation you will need the following licenses/permissions in order to run administrative cmdlets you will need the following permissions in order to run these. https://powerapps.microsoft.com/en-us/blog/gdpr-admin-powershell-cmdlets/

     

    Administrators

    To perform the administration operations in the admin cmdlets, you’ll need the following:

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Dave Wi Profile Picture
    on at

    Hello @alrez 

     

    Yes, I have been through that article already, however I was able to execute the command without "PowerApps P2" license. I was only assigned with "PowerApps for Office365" as E3 license. However as a Global Administrator, I was able to execute the command.

     

    PowerApps blog article, seems lil older, while in the latest MS Docs here It is not mentioned to have PowerApps P2 license.

     

    However at the same time, that article doesn't say which "Administrative User Account" is requiring, but I assume it will be only "Global Admin" rights which needs to execute the Admin cmdlets regardless any PowerApps license at present.

     

    Thanks,

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard