Issue with “The job is using protected resource(s) for which checks have not been evaluated” error in Azure DevOps CD pipeline

  Kiến thức lập trình

I’m facing an issue with my Continuous Deployment (CD) in Azure DevOps. In my CD pipeline YAML, I’m using multiple environments: one for non-production environment and the other for production environment. While the non-production environment works fine, when I try to trigger the production environment, which has certain approvals set up for the service connection and Azure DevOps environment, I’m encountering the following error:

#[error]The job is using protected resource(s) for which checks have not been evaluated endpoint: [service endpoint name]. For more
details, refer to https://aka.ms/pipelinechecks.

Could someone help me diagnose this issue and suggest how to resolve it? Is there something I need to configure or change in my pipeline to avoid this error?

LEAVE A COMMENT