title: az: error: unrecognized arguments: --query loginServer
body: <p>I'm trying to deploy a test spring boot app using the Az Cli.
  I've followed the steps to setup everything, but at the point of creating a docker registry:</p>
  
  <pre><code>export DOCKER_REGISTRY=$(az acr show --name acrTestProject3 \ --query loginServer --output tsv)
  </code></pre>
  
  <p>I'm getting this error</p>
  
  <blockquote>
    <p>"az: error: unrecognized arguments:  --query loginServer"</p>
  </blockquote>