Skip to main content

pa connector export

Exports the specified Power Automate or Power Apps custom connector

Usage

m365 pa connector export [options]

Alias

m365 flow connector export

Options

-e, --environmentName <environmentName>

The name of the environment where the custom connector to export is located

-n, --name <name>

The name of the custom connector to export

--outputFolder [outputFolder]

Path where the folder with connector's files should be saved. If not specified, will create the connector's folder in the current folder.

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

warning

This command is based on an API that is currently in preview and is subject to change once the API reached general availability.

If no output folder has been specified, the pa connector export command will create a folder named after the connector in the current folder. If the output folder has been specified, the folder named after the connector will be created in that folder.

Examples

Export the specified custom connector

m365 pa connector export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name shared_connector-201-5f20a1f2d8d6777a75-5fa602f410652f4dfa

Export the specified custom connector to the specific directory

m365 pa connector export --environmentName Default-d87a7535-dd31-4437-bfe1-95340acd55c5 --name shared_connector-201-5f20a1f2d8d6777a75-5fa602f410652f4dfa --outputFolder connector

Response

The command won't return a response on success.

CTRL + M