HelloHariharan Viswanath,
Thanks for your time over the meeting and please find the troubleshooting steps below that we have performed to resolve the issue.
- First, we have ensured that ARM template for Microsoft.Web/connections correctly references the KeyVault API and includes the Managed Identity for authentication.
- After checking and performing the re-deployment we have found the same error " {"code":"WorkflowManagedIdentityConfigurationInvalid","message":"The workflow connection parameter 'keyvault-2' is not valid. The API connection 'keyvault' is not configured to support managed identity."} "
So, we modified the template parameters as shown in the below:
{
"type": "Microsoft.Web/connections",
"apiVersion": "2016-06-01",
"name": "[variables('KeyVault_Connection_Name')]",
"location": "[variables('location')]",
"kind": "V1",
"properties": {
"api": {
"id": "[concat('/subscriptions/', variables('subscriptionId'), '/providers/Microsoft.Web/locations/', variables('location'), '/managedApis/', 'keyvault')]"
},
"parameterValueType": "Alternative",
"alternativeParameterValues": {
"vaultName": "*******"
},
"displayName": "[variables('KeyVault_Display_Connection_Name')]"
}
},
- Then we have re-deployed the template and that got worked as expected.
If you found the response helpful, please click Accept Answer and Yes for the provided answer. This will help other community members with similar issues find the solution more easily.