title: Azure DevOps: Service connection is not being recognized
body: <p>I can't seem to authorize access to my Azure subscription in Azure DevOps to run a build whenever a commit is pushed to master. I keep getting the below error:</p>
  <p><a href="https://i.stack.imgur.com/2cgK5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2cgK5.png" alt="enter image description here" /></a></p>
  <p>Also, when I click <code>Authorize resources</code>, it says the authorization was successful, but the next time I run the pipeline, I get the same exact error. I verified in Project settings -&gt; Service connections that I have an active connection to the subscription.</p>
  <p>How can I get around this issue? When I go to Deployment Center in Azure Functions and wire up the connection there, it creates a task-based pipeline, but I want to use yaml.</p>