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 / Trying to bypass conse...
Power Apps
Unanswered

Trying to bypass consent using Set-AdminPowerAppApisToBypassConsent not working

(0) ShareShare
ReportReport
Posted on by 2

Hi, 

I am trying to get rid of the consent window by using Set-AdminPowerAppApisToBypassConsent. Even though I get the below response, the consent window is still present for my app. My app is using the Sharepoint connector. 

 

DanielSj_0-1681712099795.png

I am following the examples from this page: https://learn.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/set-adminpowerappapistobypassconsent?view=pa-ps-latest 

 

Am I missing something here?

 

Thanks

 

 

Categories:
I have the same question (0)
  • AlessandroLanna Profile Picture
    29 on at

    I have exactly the same issue - ran the command for the first time, got 200 OK - running it other times I receive a 204 - No Content (so it looks like the previous command was successful)

    Did you manage to find a solution to this?
    Thanks
    Alessandro

  • ShaneMeisnerTH Profile Picture
    195 on at

    Seeing the same results here.. Tried running the Clear command and rerun the Set command, got back the 200, yet users are still prompted.

  • walis Profile Picture
    2 on at

    Did you end up finding a solution? @DanielSj  @AlessandroLanna @ShaneMeisnerTH ?

  • DanielSj Profile Picture
    2 on at

    No, never found a solution. I have a case with Microsoft on this, but no luck there either so far.

  • ShaneMeisnerTH Profile Picture
    195 on at

    I reran the commands this morning. The first one gave me back a 204 - No Content response.
    So I ran a Clear for the App Clear-AdminPowerAppApisToBypassConsent -AppName ..
    Then reran the Set-AdminPowerAppApisToBypassConsent -AppName 

    And user reported that test users no longer received the Permission Prompts.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 833

#2
Valantis Profile Picture

Valantis 563

#3
Haque Profile Picture

Haque 383

Last 30 days Overall leaderboard