web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom Connection to i...
Power Automate
Unanswered

Custom Connection to internal REST API Issues

(0) ShareShare
ReportReport
Posted on by 4

I've been attempting to create a Custom Connector for Flow to query an internal REST API. I've encountered a couple of issues.

 

This is the Postman HTTP generated code:

 

POST /api/v1/blah HTTP/1.1
Host: blah.blah.blah
Authorization: Basic blahblahblahblahblahblah
Content-Type: application/json;charset=UTF-8
Cookie: JSESSIONID=7B43DB0977C71E3447ECC30F3ABC0025

{
"type": "BlahTokenBlah"
}

 

1.  I've found that when you enable the "Connect via on-premises data gateway" option, your security options are limited to "No authentication", "Basic authentication", and "Windows authentication", so the "API Key" option prevents me from entering the "Authorization" in the header. If you try to, you get an error indicating "Authorization" is not permitted in the header and to use the "API Key".

 

2. No gateways. I have several gateways for SQL, SharePoint, File System and FTP, but when I attempt to create a connection for the Custom Connector, there are no gateways. We have gone over the on premise gateways several times and cannot identify an issue.

 

Categories:
I have the same question (0)
  • Verified answer
    Rohit Sharma354 Profile Picture
    on at

    Hello,

     

    #1: This is by design as gateway doesn’t support API Key authentication.

     

    #2: The person who installed the gateway at first place should share the gateway with you. This will allow the gateway to be visible and use by other users:

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/gateway-management#view-and-manage-gateway-permissions

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/gateway-management

     

    If its already shared with you, then check with the person who installed the gateway, if he/she can view the gateway when creating custom connector.

     

     

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard