Contoso configured a private endpoint for a Premium Azure Container Registry and then set public network access to disabled. Since then, a pipeline that runs on agents managed by Azure DevOps can't push images to the registry. What should you do to restore the pipeline without re-enabling public network access?
Show answer and explanation
Answer: A
Explanation
Private endpoints aren’t currently supported with agents managed by Azure DevOps, so you need to use a self-hosted agent with network line of sight to the private endpoint.[1] Once public network access is disabled, instances of certain Azure services, including Azure DevOps Services, can’t access the registry.[1]
The admin account is only an authentication method and doesn’t open the blocked network path. It’s also a single set of registry-wide credentials with full permissions, so the guidance is to keep it disabled and authenticate with Microsoft Entra ID.[2] You can’t configure a service endpoint together with private link from the same virtual network.[1] AcrPush is a data-plane role, so it addresses permissions only and doesn’t fix the network problem of managed agents being unable to reach the private endpoint.[1][2]