I want to replace hard coded strings in connections.json
with parameters for connections in Logic App and Visual Studio Code.
Based on the link below
If I changed to like in 'connections.json' below:
"azureblob": {
"api": {
"id": "/subscriptions/@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}/providers/Microsoft.Web/locations/@{appsetting('WORKFLOWS_LOCATION_NAME')}/managedApis/azureblob"
},
"connection": {
"id": "/subscriptions/@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}/resourceGroups/@{appsetting('WORKFLOWS_RESOURCE_GROUP_NAME')}/providers/Microsoft.Web/connections/azureblob"
}
}
I got the errors below on the Workflow designer in VS Code:
If use this:
@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}
Error below:
The provided subscription identifier 'undefined' is malformed or invalid.
If I use this:
@appsetting('WORKFLOWS_SUBSCRIPTION_ID')
Error below:
The provided subscription identifier '@appsetting('WORKFLOWS_SUBSCRIPTION_ID')' is malformed or invalid.
Azure Logic Apps (std) for VS Code: v1.0.12
Refs: