azureazure-devopsazure-pipelinesazure-pipelines-release-task

The release pipeline cannot be saved because the stage 'Prod' references a service connection that cannot be found


In AzureDevOps when saving a Release Pipeline I get the error:

VS402913: The release pipeline cannot be saved because the stage 'Prod' references a service connection that cannot be found, or that you do not have permission to access.

VS402913: The release pipeline cannot be saved because the stage 'Prod' references a service connection that cannot be found, or that you do not have permission to access. Details: 'Task 'Load Azure Key Vault' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Delete stage slot' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Create App Service Slot' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Stop all continuous webjobs' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Deploy Arfifacts' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Migrate Database' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Swap Slots' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Start all continuous webjobs' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Cleanup Stage Slot' is using service connection '00000000-0000-0000-0000-000000000000',Task 'Deploy APIM' is using service connection '00000000-0000-0000-0000-000000000000''

For all the variables it reports they need access to the the Service Connections: enter image description here

How can I save the Pipeline?


Solution

  • I needed to set the Variables either Pipeline variables or Variable groups

    enter image description here