title: Failed to pull image "xx.azurecr.io/xx:latest": rpc error: code = Unknown desc = Error response from daemon: unauthorized: authentication required
body: <p>My ACR and AKS are on same Azure Directory with same subscription.</p>
  <p>After giving ACR Pull access to my Service Principal, nothing worked and still getting this error.</p>
  <blockquote>
  <p>Error :- Failed to pull image &quot;xx.azurecr.io/xx:latest&quot;: rpc error:
  code = Unknown desc = Error response from daemon: Get
  <a href="https://xx.azurecr.io/v2/xx/manifests/latest" rel="nofollow noreferrer">https://xx.azurecr.io/v2/xx/manifests/latest</a>: unauthorized:
  authentication required</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/lTJzq.png" rel="nofollow noreferrer">screenshot of dashboard</a></p>