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 / BypassConsent not work...
Power Apps
Answered

BypassConsent not working anymore

(0) ShareShare
ReportReport
Posted on by 168

Hi,

 

I've been using Powershell cmdlet "Set-AdminPowerAppApisToBypassConsent" to bypass consent popups when users open my apps for the first time. This has been working very well, but this week I noticed that my apps have started asking SharePoint data connection permissions again even though app's "BypassConsent value" is set to "True".

 

I really don't know what has happened and what should I do to get rid of those consent popups. Please help. My apps are SharePoint list customized forms.

 

Consent popup:

 

Consent popupConsent popup

Powershell, app's bypassconsent value:

BypassConsent trueBypassConsent true

 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @zarski ,

    Do you custom a form using PowerApps in your SP List?

     

    Based on the issue that you mentioned, I think this issue may be related to recently known issue (Custom form could not load well, Navigation button not work, ....) with SharePoint List Custom form.

     

    Firstly, please make sure the SharePoint List connection in your current PowerApps Environment is not valid. If it is invalid, please update the connection.

     

    Please take a try to clear the BypassConsent option for your custom form app using the following PowerShell cmdlet:

    Clear-AdminPowerAppApisToBypassConsent

    then re-execute the Set-AdminPowerAppApisToBypassConsent cmdlet again for your custom form app, check if the issue is solved.

     

    Best regards,

  • zarski Profile Picture
    168 on at

    Thanks for the answer. Yes we have customized SharePoint list forms with Power Apps.

     

    I tried that:

     

    Clear-AdminPowerAppApisToBypassConsent

     

     and after that again:

     

    Set-AdminPowerAppApisToBypassConsent

     

    ..but it didn't help 😞

     

    Is there anything else I could try? 

     

    Edit: We have almost 50 sharepoint lists and PA customized forms. Their data connections are fine and republishing those apps makes no difference.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @zarski ,

    Currently, I could not reproduce your issue on my side. Please consider submit an assisted support ticket for further help through the following link:

    https://powerapps.microsoft.com/en-us/support/pro

     

    Best regards,

  • zarski Profile Picture
    168 on at

    Than you for your help. It looks like this problem has solved by itself during the weekend. Don't know what happened but there's no more consent popups 🙂

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @zarski ,

    Have you solved your problem?

     

    Congratulations! 😊 I think this issue may be an temporary issue with the BypassConsent in PowerApps canvas app.

     

    If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this issue has been solved.

     

    Best regards,

  • Powerplatform01 Profile Picture
    386 on at

    You can watch this video to resolve your issue

    https://youtu.be/hXaorq9o_90

     

  • TheBeanStalk Profile Picture
    25 on at

    @Powerplatform01 the link is private (?). trying to resolve same issue, using PS as admin.

  • ahmadzia Profile Picture
    6 on at

    The bypass consent is not working again today. Both the commands Set-AdminPowerAppApisToBypassConsent and Clear-AdminPowerAppApisToBypassConsent work okay with 200 return code but the consent popup always appear for SharePoint connector.

     

    The Get-AdminPowerApp clearly displays the BypassConsent flag set as True/False for Set and Clear commands respectively. 

  • khawaib Profile Picture
    5 on at

    We also experiencing same issue. We can see with Get-AdminPowerApp that value is changed but pop-up keeps still appearing. May be this is getting queued somewhere and waiting. We will monitor it and see if it works later.

  • PB-wiss Profile Picture
    2 on at

    We are experiencing the same issue. Set-AdminPowerAppApisToBypassConsent is returning statuscode 204 however Get-AdminPowerApp shows BypassConsent : True

     

    Any pointers to solve this are appreciated.

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