Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Build custom connector using Openapi 2.0 document with policies

Hi all,


Is there a way to add policies to an Openapi 2.0 document that can be used for build a custom connector?

I found some information on the following:

Authorization header using HTTP via on-premise datagateway which I will work on to add but I wanted to check if there is a way to add this Add Header type policy to the Openapi 2.0 document.


Thanks for any help,




Hi Bob,


Could you please provide some additional clarification? What scenario are you trying to achieve? Thanks.

I am trying to place entries in an Openapi 2.0 document that I am building to get me as close to completion as possible as I build a custom connector from it.


This document will be used a number of times as this is a custom connector that will connect the the on-premise data gateway and then to a vendor supplied Web api.


They built it using older technology so there isn't an Openapi 2.0 document that exists for building these custom connectors.


I am check if there is Openapi 2.0 syntax that will add a policy to the custom connector for setting an Authorization header.


Thanks for your reply,



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,184)