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 / Custom connector and l...
Power Apps
Unanswered

Custom connector and login problems

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I developed an application using a custom connector. However, when I share the app with people, it will ask them to enter a username and password. I don't want that. Can I prevent this? I want the username and password I entered to be defined for everyone by default. Is that possible ? By the way I tried to create Power automate flow. But this time, It disrupted the process within the application.

 
Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    I'm not sure of your question, did you mean?:

    1. The custom connector requires a username parameter and password parameter to be entered and you want that done automatically? or,
    2. You're sharing an app with other people and you don't want them to enter Microsoft credentials in order to use it?

    If it is #1, you can potentially default the input parameters of the custom connector to achieve this. That's side-stepping the purpose of the username and password, so that's a risk

     

    If it is #2, that sounds like it is possibly contravening the Microsoft licence agreement - don't do that

     

    Or, is there a different question here?

     

    Bryan

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

    Thanks for reply. Actually my main goal is first option. How can I set it as default? I have to connect with basic authentication. Because I am trying to reach 3rd party application.

  • BCLS776 Profile Picture
    8,994 Moderator on at

    OK, here are the steps to make a custom connector perform a defaulted basic authorization using https protocol:

     

    1. Create/edit your custom connector and choose "No authorization" on the Security tab
    2. Create a Base64 encoded string of the form "username:password" (separated by a colon). You can use a site like this to do it. Copy the resulting string to use again in a moment
    3. When creating the custom connector parameters, make sure to create a Policy that looks like this:

    BCLS776_0-1706899470050.png

    And you will replace the string abc123 with the base64 username:password string you created in Step 2. It is prefaced with "Basic " (there's a space character in there)

     

    Hope that helps,

    Bryan

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard