title: Error: "There was a resource authorization issue: The pipeline is not valid."
body: <p>I'm trying to build a Azure Devops pipeline and ran into this error during the run stage. Can you please help me solve this issue? Thank you</p>
  <p>There was a resource authorization issue:</p>
  <blockquote>
  <p>The pipeline is not valid. Job Build_Scoring_image: Step buildscoringimage input connectedServiceNameARM references service connection aml-workspace-connection which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to <a href="https://aka.ms/yamlauthz" rel="nofollow noreferrer">https://aka.ms/yamlauthz</a>. Job Deploy_to_Staging: Step input kubernetesServiceConnection references service connection mlops-aks which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to <a href="https://aka.ms/yamlauthz" rel="nofollow noreferrer">https://aka.ms/yamlauthz</a>.</p>
  </blockquote>
  <p>I clicked 'authorize resources' next to the error and it still failed.</p>