az logicapp connection managed
Note
This reference is part of the logicapp extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az logicapp connection managed command. Learn more about extensions.
Create managed API connections for deployed Logic Apps Standard sites.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az logicapp connection managed create |
Create and wire a managed API connection using distinct connection and app names. |
Extension | GA |
az logicapp connection managed create
Create and wire a managed API connection using distinct connection and app names.
--name always names the connection; --logic-app-name names the consuming site. Uses the same guarded managed API/OAuth/identity creation as legacy connection create --managed-api. That legacy mode is deprecated but retains its original --name meaning throughout this preview; removal requires an announced breaking change. Does not broaden identity ownership or cleanup. OAuth failures may retain connection/access-policy resources. Inspect the reported state before retrying; timeout does not promise resource removal.
az logicapp connection managed create --auth-mode {managed-identity, oauth, raw, service-principal}
--connector
--location
--logic-app-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--consent-timeout]
[--display-name]
[--force]
[--no-browser]
[--parameter]
[--parameter-set]
[--secret-parameter]
[--user-assigned-identity]
Examples
Create an Azure Blob connection for the site's managed identity.
az logicapp connection managed create -g my-rg --logic-app-name my-app -n blobProd --connector azureblob -l eastus --auth-mode managed-identity
Create an Office 365 connection with browser consent.
az logicapp connection managed create -g my-rg --logic-app-name my-app -n outlook --connector office365 -l eastus --auth-mode oauth
Required Parameters
Authentication used by the connection. OAuth requires browser consent; managed-identity uses an identity already assigned to the app.
| Property | Value |
|---|---|
| Accepted values: | managed-identity, oauth, raw, service-principal |
Managed API connector name or ARM managedApis id.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Logic App Standard site that will use the connection.
Managed API connection name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
OAuth consent timeout in seconds, default 300. On failure resources may be retained; inspect before retrying.
Display name. Defaults to --name.
Replace existing managed connection wiring with revision and ownership checks.
| Property | Value |
|---|---|
| Default value: | False |
Print the OAuth consent URL instead of opening a browser. Loopback callback still required.
| Property | Value |
|---|---|
| Default value: | False |
Non-secret NAME=VALUE connection parameter, repeatable.
Connector parameter set name.
Secret parameter name. The value is read from standard input, never the command line.
Resource id of an identity already assigned to the app. Defaults to the system identity.
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.
Increase logging verbosity. Use --debug for full debug logs.
| Property | Value |
|---|---|
| Default value: | False |