How to Resolve “Service Connection Could Not Be Found” in Azure DevOps Pipelines

Luca Berton
7 min readOct 5, 2024

n Azure DevOps, service connections play a crucial role in providing pipelines with access to external services, such as Azure Resource Manager (ARM) for deploying resources in the cloud. However, one of the common issues that users encounter is the error message stating:

Job Job: Step input azureResourceManagerConnection references service connection <your-connection-name> which could not be found. The service connection does not exist, has been disabled or has not been authorized for use.

This error typically occurs due to one or more of the following reasons:

  1. The service connection does not exist.
  2. The service connection has been disabled.
  3. The pipeline has not been authorized to use the service connection.
  4. The service connection name in the pipeline does not match the actual name in Azure DevOps.

This article walks you through the common causes of this error and how to resolve it so that your Azure DevOps pipeline can successfully deploy resources.

What is a Service Connection in Azure DevOps?

A service connection in Azure DevOps allows your pipelines to communicate with…

--

--

Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday