Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI/CD pipeline for Logic app (consumption) with parameterized connections #692

Open
Nevinia210 opened this issue Dec 4, 2023 · 1 comment

Comments

@Nevinia210
Copy link

Hello,
I would like to ask if it is possible to deploy LogicApp to azure with parameterized connections,
currently im using task:

                - task: AzureResourceManagerTemplateDeployment@3
                  displayName: "Deploy ARM template"
                  inputs:
                    azureResourceManagerConnection: $(connectionName)
                    subscriptionName: $(subscriptionId)
                    resourceGroupName: $(resourceGroupName)
                    location: $(location)
                    csmFile: $(Pipeline.Workspace)/armtemplate/**/workflow.json
                    csmParametersFile: $(Pipeline.Workspace)/armtemplate/**/parameters.json
                    deploymentMode: "Incremental"
                    overrideParameters: -subscriptionId $(subscriptionId) -resourceGroupName $(resourceGroupName) -location $(locationParameter)

this task deploy my logic app correctly, but there are no parameters
my workflow.json looks like this:
image

Im getting this kind of error:
#[error]LinkedAuthorizationFailed: The client has permission to perform action 'Microsoft.Web/connections/join/action' on scope '/subscriptions/xxxxx/resourcegroups/xxxx/providers/Microsoft.Logic/workflows/LogicAppTestDeploy2', however the linked subscription '[parameters('subscriptionId')]' was not found.

Am i doing something wrong? or is it even possible to make connections parameterized?

thank you for your answers

@Nevinia210
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant