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 / All first time users n...
Power Apps
Answered

All first time users need to input API key?

(0) ShareShare
ReportReport
Posted on by 89

I want users to be able to use this app that uses a custom connector to access information from a data source. 

 

The connection works perfect for me, but when other users try to use it, they get a pop up box asking for their authentication (in my case, an API key). I was wondering if there was anyway to allow users to use the app with the connection without asking for their authentication. It would be inconvenient to send others my api key and have all of the first-time users put that in. 

 

When I create the custom connector, and then the connection, that's when it asked me for the authentication, so I didn't think users would need to put it in as well. I thought it would just use my API key every time. 

Categories:
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @JimmyNeutron ,

     

    Please see if the blogs would help:

    https://www.inspiribytes.com/power-apps/powerapps-bypass-consent-when-opening-app-the-first-time/

    https://www.o365dude.com/2019/01/06/bypass-consent-pop-ups-in-powerapps/

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @JimmyNeutron ,

     

    Have you solved this problem? Please refer to below thread:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Issue-with-custom-connector/td-p/671927

     

    If you want to get rid of showing up the "Allow Permission" dialog each time when you run this shared app, I think the Set-AdminPowerAppApisToBypassConsent Power Apps PowerShell command could achieve your needs.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @JimmyNeutron your question was marked solved but they only spoke to the part about users seeing the first-time connection and NOT the part about the API Key which is the real concern.  We are facing this same issue.  We can deal with the users getting the initial prompt but do not want them to have to provide the api key.

     

    Anyone have guidance on solving that portion?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I found this YouTube video that precisely spoke to the problem and how to solve.  Basically have two options - either just share the connection reference, or (better) modify your swagger to have an additional internal header where you pass the api key.

     

    https://www.youtube.com/watch?v=DPOJRBe1hnU

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard