Showing results for 
Search instead for 
Did you mean: 
Not applicable

Custom connector Generic OAuth 2 not using prompt=select_account

I have set up a custom connector to use the generic OAuth 2.0 authentication.


When I click "switch account" for this connection it redirects to a URL like below:




Compare this to the redirect URL used when switching account for the Office 365 connector:




The Office 365 connector adds the prompt url argument which allows the user to pick a different account. The generic OAuth 2.0 authentication does not add this property so it just logs the user straight in with the account they last selected.


How can I get the Generic OAuth 2.0 authentication to add the prompt argument?

Community Support
Community Support

Hi @Anonymous ,

Do you want to save OAuth 2.0 authentication to make user could select account to log in?

When you a create a custom connector configured with an authentication type of generic Oauth 2.0, Oauth 2.0 for specific services or Basic authentication, by default the PowerApp user will be prompted to provide credentials so the app can create a connection. 

I'm afraid it's not supported to save OAuth 2.0 authentication by using this kind of  authentication method.

Here's a doc about this  this kind of  authentication method for your reference:



Best regards,

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

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,946)