Is creating a custom connector with a on-premise data gateway through Microsoft Power Platform Connectors CLI supported? https://learn.microsoft.com/en-us/connectors/custom-connectors/paconn-cli seems to indicate that it is, using the "capabilities": [ ] property in the API properties file. However, I can't find documentation that shows how set that value.
I tried "capabilities": ["action", "trigger", "rpc", "onPremises"] in the API properties file, but the connector was created with the "Connect via on-premises data gateway" box unchecked. Even after checking it manually, I do not get the option to select the on-premises data gateway box like I do when I create the connector from scratch in the Power Automate UI. The API properties file is attached (the original file has a json extension; renamed here to allow upload). The connector is created using:
pac connector create --api-definition-file swagger.json --api-properties-file apiProperties.json --environment the-environment-id
If on-premise data gateway is supported when creating a custom connecter through CLI, can someone point me to documentation on how to correctly set the capabilities property?
Thank you.

Report
All responses (
Answers (