Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

Connecting to On Premises API with API key authentication

(1) ShareShare
ReportReport
Posted on by 62

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

 

  • JLo Profile Picture
    30 on at
    Re: Connecting to On Premises API with API key authentication

    Tou can ask Microsoft to implement it here:

    https://ideas.powerautomate.com/d365community/idea/34f24f0e-75ba-4dc4-8979-be261ecd8a55

  • Dinesh Profile Picture
    62 on at
    Re: Connecting to On Premises API with API key authentication

    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.

  • swe1 Profile Picture
    22 on at
    Re: Connecting to On Premises API with API key authentication

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

  • Dinesh Profile Picture
    62 on at
    Re: Connecting to On Premises API with API key authentication

    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

  • vaibhavtiwari Profile Picture
    16 on at
    Re: Connecting to On Premises API with API key authentication

    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

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics