cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dinesh
Advocate IV
Advocate IV

Connecting to On Premises API with API key authentication

Hello,

 

I am trying to make a connection from Power Automate to On-Premises API in our organization. I read thru several blogs and the following one was most related to the topic.

 

Connect to custom on-premises APIs using data gateway | Blog Power Automate (microsoft.com)

 

Now, i have a Data gateway as per the above guide and able to connect to one of the endpoint which does not have any authentication mechanism.

 

As the next step, i need to call another endpoint with the token in the header. In case of a public api, i could have used the API key authentication of custom connector to achieve this. But I having an issue with the Authentication types available whenever the Data gateway is used.

 

API key or OAuth authentication is not listed as the Authentication methods for the customer connector. How do i enable API key authentication for the custom connector with the data gateway? 

 

Dinesh_0-1638272011163.png

 

4 REPLIES 4
vaibhavtiwari
Frequent Visitor

Need help with same scenario. I have api to consume with API key as authentication type but that option is not listed.

 

Any help is much appreciated

Dinesh
Advocate IV
Advocate IV

I raised a ticket with Microsoft for this issue. Unfortunately, API key and OAuth 2.0 are not supported when using Gateway

 

I posted this to ideas section for the Oauth authentication - OAuth2 authentication for Custom connectors using ... - Power Platform Community (microsoft.com)

 

my suggestion would be to post API key feature in Ideas

swe1
Frequent Visitor

Any news here? Having the same problem... does a workaround exist?

Unfortunately not.

 

Now i am using HTTP with Azure AD connector instead of the custom connector. HTTP with Azure AD allows you to call APIs thru the Gateway unlike the standard HTTP connector.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (6,655)