<p>I have tried <code>az aks show</code> and <code>az aks list</code> commands but they don't show the names of the attached ACR's.
I ran the command to attach acr using <code>az aks update --attach-acr</code> and it shows thats it attached.</p>
<p><img src="https://i.stack.imgur.com/zTnTd.png" alt="AFter running the az aks update" /></p>
<p>Can I see through the CLI or portal that the acr is in the cluster?</p>

Joby Santhosh
<p>I am afraid you cannot see the attached ACR in the cluster UI portal.</p>
<p>When you attached the ACR to the AKS cluster using <code>az aks update --attach-acr</code> command.</p>
<p><strong>It just assigned the ACR's AcrPull role to the service principal associated to the AKS Cluster.</strong> See <a href="https://learn.microsoft.com/en-us/azure/aks/cluster-container-registry-integration" rel="noreferrer">here</a> for more information.</p>
<p>You can get the service principal which associated to the AKS Cluster by command <code>az aks list</code></p>
<p><a href="https://i.stack.imgur.com/gJSlj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gJSlj.png" alt="enter image description here" /></a></p>
<p>See below screenshot. The AcrPull role was assigned to the service principal associated to the AKS Cluster.</p>
<p><a href="https://i.stack.imgur.com/jp7ei.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jp7ei.png" alt="enter image description here" /></a></p>
<p>If you want to use Azure CLI to check which ACR is attached to the AKS cluster. You can list all the ACRs. And then loop through the ACRs to check which one has assigned the AcrPull role to the AKS service principal. See below example:</p>
<pre><code># list all the ACR and get the ACR id
az acr list


az role assignment list --assignee &lt;Aks service principal ID&gt; --scope &lt;ACR ID&gt;
</code></pre>
