Error: "There was a resource authorization issue: The pipeline is not valid."

Error: "There was a resource authorization issue: The pipeline is not valid."

我正在尝试构建 Azure Devops 管道,并在 运行 阶段 运行 遇到此错误。你能帮我解决这个问题吗?谢谢

存在资源授权问题:

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 https://aka.ms/yamlauthz. 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 https://aka.ms/yamlauthz.

我点击了错误旁边的'authorize resources',还是失败了。

我们假设您的问题可以通过 re-configure 您在项目设置中的服务连接来解决。

  • Service Connection in Project Setting
  • Service Connection Management

并且您的服务连接将在管道中再次可用。