Service principal authentication between Logic app and Azure Blob storage #994
-
Hello, I have been trying to create API connection between logic app consumption and blob storage. In the portal, could create API connection by selecting "Service principal authentication" along with Tenant id, Client id, Client Secret. All good and API created, could create the blob as well. Then started to prepare Logic app ARM template for automation (to deploy from azure DevOps). I have followed Microsoft doc https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-resource-manager-templates-overview. Configured ARM template Microsoft.Web/connections as below. Defined the parameters as below: Parameter file prepared as below: When try to deploy these from azure DevOps getting below error in release. errorCode: ParameterNotDefined. Am I missing any other configurations? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I am facing the same issue, when trying to create a connection from the logic app page, I can do it but when I tried from the CICD deployment pipeline, I got the same error, How to solve this? |
Beta Was this translation helpful? Give feedback.
Hi,
I was managed to configure CICD for this...
Please find the below for web connection. Let me know if this solved your issue or not....
{ "type": "Microsoft.Web/connections", "apiVersion": "2016-06-01", "location": "[parameters('logicAppLocation')]", "name": "[parameters('ConnectionName')]", "properties": { "api": { "id": "[concat('/subscriptions/',subscription().subscriptionId,'/providers/Microsoft.Web/locations/',parameters('logicAppLocation'),'/managedApis/azureblob')]" }, "displayName": "[parameters('ConnectionName')]", "parameterValueSet": { "name": "servicePrincipalAuth", "values": { "token:clientId": { "value": "[parameters('ClientId')]" }, "token:clientSecret": { "value": "[par…