Showing results for 
Search instead for 
Did you mean: 
New Member

Custom Connector - Authorization: Basic API_KEY - how?

I am trying to connect to an external service which authenticates using Basic Authentication however the value of the parameter is the API Key. For example - headers:


Authorization: Basic *your_api_key_here*


I cant find how to configure this scenario as my options are either Basic Auth with Username/password OR No Auth (however when i specify authorization in request headers manually, this is also not allowed)


Any suggestions?

Community Support
Community Support

Hi @DevlMTL2019,


How is the API key authentication configured in your definition?

There are several options available for authentication in custom connectors. The Cognitive Services APIs use API key authentication, so that’s what’s specified in the OpenAPI definition.

Please check more details about it at here:

Hope it could be your reference.


Best regards,



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

There is no way to configure it the way i have illustrated above.


What i need is - "Authorization: Basic API_KEY"

What you have is:

- Basic Auth: Only has a place for Username + PWD so that you create your own hash of the two. I need to specify this value, not have you create it.

- API KEY: which uses a parameter passed in the header or query.

- No Auth: Wont allow me to specify Authorization headers in the action queries.

Regular Visitor

Still no solution for this?

I am also looking for the solution . Thank you!

@keatklein wrote:

Still no solution for this?


Any solution?

In the security tab, define the apikey:

In the next step: Definition do not inlcude the apikey in the Query:

the hapikey=abc will be added by the system based on the key your enter when creating the connection.

Hope this short explanation helps someone.

Not applicable

It works for me.




Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,526)