cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shipwreck
Frequent Visitor

Custom Connection to internal REST API Issues

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
rohsh354
Community Support
Community Support

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-gate...

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.

 

 

 

 

View solution in original post

1 REPLY 1
rohsh354
Community Support
Community Support

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-gate...

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.

 

 

 

 

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,485)