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 Automate / Optional password in H...
Power Automate
Unanswered

Optional password in HTTP connector Basic Authentication

(0) ShareShare
ReportReport
Posted on by 10

Dear Team,

I have created a Power Automate workflow that contains HTTP Action. This action calls external REST API with "Basic" Authentication type. The API service provide expects only username and not password for calling the service.

 

However, HTTP action has password mandatory with Basic authentication thus the flow is not executing the connector with below error:

The required basic authentication property 'password' is missing.

Below is the screenshot of HTTP action designer:

 

bharatmalviya_0-1595386500557.png

 

Below is screenshot of exception

bharatmalviya_2-1595385891498.png

 

The  API provider is one of the leading bank in Australia where the payment file to be uploaded. Below is the documentation of API provider:

 

https://paymentsplus-wbc.support.qvalent.com/docs/wbc/paymentsplusapi/v1/#credentials-and-security

 

When the username is provided in Password field, the API throws an exception that they are not expecting password. 

 

Can someone please advise if there is a way to suppress the password during API call? Appreciate the help. 

 

Thanks.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

     

     

    It seems that you cannot leave the password empty.

  • Bharat Malviya Profile Picture
    10 on at

    Hi @Anonymous ,

     

    Thanks for the response. We tried same thing in Logic Apps however Power Automate internally uses HTTP Logic App connector.

     

    I'm looking for another approach where we may need to invoke REST API using Windows service. As the API provider expect the calls from specific IP range only. 

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @bharatmalviya 

     

    I had the similar issue where I need to use the username as my API key and no password. I used the below config. Use the HTTP connector and set the Authentication as Raw. Under the Value place the API key.

     

    image.png

  • Bharat Malviya Profile Picture
    10 on at

    Hi @abm ,

     

    Thanks, I'll have a look into and check whether it works. 

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    To resolve the authentication issue. Copy the username in the password field.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    In my case, the endpoint required authentication header in the following format:

    Authorization: Basic <base64("username:password")>

    where username is the API key and password blank. 

     

    I solved it using the "Raw" option and set its value to "Basic base64('username:')"

    Screenshot 2022-05-19 at 13.46.20.png

    In the screenshot above, the value after "Basic" is a calculated base64 representation of the string "username:". The username is the API key. Note the colon ":" after "username". That is required (at least in my case).

     

    Optionally, base64() is available as an expression when using the dynamic content option. One can use that as well, especially if you want to keep the username secret. 

     

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 Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard