any updates on this? I have the same issue.
Logic App (Standard) - Workflow processing failed. Error: 'The 'managedApiConnections' property in connection.json has a value that cannot be parsed.'
Simon Walkey (UoB Administration Account)
20
Reputation points
I have noticed getting the error in the title ever since deploying an update to the workflows yesterday.
- The workflow list cannot be shown but the connections (api and provider) all look fine on the Connections blade.
- My resources are deployed and set up using terraform and workflow updates are made using GitHub actions from the repo via the Azure Function zip deploy method.
- I tried deleting the logic app alltogether, recreating it using the terraform and populating using the GitHub action but the same error is shown.
- Even before adding the connections.json and workflows the error was present with an 'empty' logic app, indicating that there might be an underlying problem that does not relate to the actual connections.json file. This is my connections.json (below that are the appsettings):
{
"managedApiConnections": {
"commondataservice": {
"api": {
"id": "@appsetting('CommonDataService_connectionApiId')"
},
"authentication": {
"type": "ManagedServiceIdentity"
},
"connection": {
"id": "@appsetting('CommonDataService_connectionId')"
},
"connectionRuntimeUrl": "@appsetting('CommonDataService_connectionRuntimeUrl')"
},
"conversionservice": {
"api": {
"id": "@appsetting('ConversionService_connectionApiId')"
},
"authentication": {
"type": "ManagedServiceIdentity"
},
"connection": {
"id": "@appsetting('ConversionService_connectionId')"
},
"connectionRuntimeUrl": "@appsetting('ConversionService_connectionRuntimeUrl')"
},
"servicebus_1": {
"api": {
"id": "@appsetting('Servicebus_connectionApiId')"
},
"authentication": {
"type": "ManagedServiceIdentity"
},
"connection": {
"id": "@appsetting('Servicebus_connectionId')"
},
"connectionProperties": {
"authentication": {
"audience": "https://servicebus.azure.net",
"type": "ManagedServiceIdentity"
}
},
"connectionRuntimeUrl": "@appsetting('Servicebus_connectionRuntimeUrl')"
}
},
"serviceProviderConnections": {
"AzureBlob": {
"displayName": "cn-in-app-azure-storage",
"parameterValues": {
"connectionString": "@appsetting('AzureBlob_connectionString')"
},
"serviceProvider": {
"id": "/serviceProviders/AzureBlob"
}
},
"keyVault": {
"displayName": "cn-in-app-key-vault",
"parameterValues": {
"VaultUri": "@appsetting('keyVault_VaultUri')",
"authProvider": {
"Type": "ManagedServiceIdentity"
}
},
"serviceProvider": {
"id": "/serviceProviders/keyVault"
}
},
"serviceBus": {
"displayName": "cn-in-app-service-bus",
"parameterValues": {
"authProvider": {
"Type": "ManagedServiceIdentity"
},
"fullyQualifiedNamespace": "@appsetting('ServiceBus-FullyQualifiedNamespace')"
},
"serviceProvider": {
"id": "/serviceProviders/serviceBus"
}
}
}
}
This is a masked copy of the related and essential items in my Configuration appsettings:
[
{
"name": "APPINSIGHTS_INSTRUMENTATIONKEY",
"value": "*Key*",
"slotSetting": false
},
{
"name": "APPLICATIONINSIGHTS_CONNECTION_STRING",
"value": "*ConnectionString*",
"slotSetting": false
},
{
"name": "AzureBlob_connectionString",
"value": "@Microsoft.KeyVault(SecretUri=https://*KvName*.vault.azure.net/secrets/*SecretName*)",
"slotSetting": false
},
{
"name": "AzureFunctionsJobHost__extensionBundle__id",
"value": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"slotSetting": false
},
{
"name": "AzureFunctionsJobHost__extensionBundle__version",
"value": "[1.*, 2.0.0)",
"slotSetting": false
},
{
"name": "AzureWebJobsStorage",
"value": "*ConnectionString*",
"slotSetting": false
},
{
"name": "AzureBlob_connectionString",
"value": "@Microsoft.KeyVault(SecretUri=https://*KvName*.vault.azure.net/secrets/*SecretName*)",
"slotSetting": false
},
{
"name": "CommonDataService_connectionApiId",
"value": "/subscriptions/*SubscriptionId*/providers/Microsoft.Web/locations/uksouth/managedApis/commondataservice",
"slotSetting": false
},
{
"name": "CommonDataService_connectionId",
"value": "/subscriptions/*SubscriptionId*/resourceGroups/*RGName*/providers/Microsoft.Web/connections/commondataservice",
"slotSetting": false
},
{
"name": "CommonDataService_connectionRuntimeUrl",
"value": "https://*CommonId*.02.common.logic-uksouth.azure-apihub.net/apim/commondataservice/*ConnectorInstanceId*",
"slotSetting": false
},
{
"name": "ConversionService_connectionApiId",
"value": "/subscriptions/*SubscriptionId*/providers/Microsoft.Web/locations/uksouth/managedApis/conversionservice",
"slotSetting": false
},
{
"name": "ConversionService_connectionId",
"value": "/subscriptions/*SubscriptionId*/resourceGroups/*RGName*/providers/Microsoft.Web/connections/conversionservice",
"slotSetting": false
},
{
"name": "ConversionService_connectionRuntimeUrl",
"value": "https://*CommonId*.02.common.logic-uksouth.azure-apihub.net/apim/conversionservice/*ConnectorInstanceId*",
"slotSetting": false
},
{
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "~4",
"slotSetting": false
},
{
"name": "FUNCTIONS_WORKER_RUNTIME",
"value": "node",
"slotSetting": false
},
{
"name": "keyvault_VaultUri",
"value": "https://*KvName*.vault.azure.net/",
"slotSetting": false
},
{
"name": "ServiceBus-FullyQualifiedNamespace",
"value": "*ServicebusName*.servicebus.windows.net",
"slotSetting": false
},
{
"name": "Servicebus_connectionApiId",
"value": "/subscriptions/*SubscriptionId*/providers/Microsoft.Web/locations/uksouth/managedApis/servicebus",
"slotSetting": false
},
{
"name": "Servicebus_connectionId",
"value": "/subscriptions/*SubscriptionId*/resourceGroups/*RGName*/providers/Microsoft.Web/connections/servicebus",
"slotSetting": false
},
{
"name": "Servicebus_connectionRuntimeUrl",
"value": "https://*CommonId*.02.common.logic-uksouth.azure-apihub.net/apim/servicebus/*ConnectorInstanceId*",
"slotSetting": false
},
{
"name": "serviceBus_connectionString",
"value": "@Microsoft.KeyVault(SecretUri=https://*KvName*/secrets/*SecretName*)",
"slotSetting": false
},
{
"name": "WEBSITE_CONTENTAZUREFILECONNECTIONSTRING",
"value": "*ConnectionString*",
"slotSetting": false
},
{
"name": "WEBSITE_CONTENTSHARE",
"value": "*LAName*-content",
"slotSetting": false
},
{
"name": "WEBSITE_NODE_DEFAULT_VERSION",
"value": "~18",
"slotSetting": false
}
]
2 answers
Sort by: Most helpful
-
-
Ian Carrick (csu) 0 Reputation points
2024-09-03T10:31:28.84+00:00 any update on this? I have the same issue.