<p>I am trying to follow this tutorial to backup a persistent volume in Azure AKS:</p>

<p><a href="https://learn.microsoft.com/en-us/azure/aks/azure-disks-dynamic-pv" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/aks/azure-disks-dynamic-pv</a></p>

<p>I can see the volumes doing</p>

<pre><code>az aks get-credentials --resource-group MYRESOURCEGROUP --name  HIDDEN --subscription MYSUBSCRIPTION

kubectl get pv
</code></pre>

<p>(Both disk and file, managed-premium and standard storage classes)</p>

<p>but then I do:</p>

<pre><code>az disk list --resource-group MYRESOURCEGROUP  --subscription MYSUBSCRIPTION
</code></pre>

<p>and I get an empty list, so I can't know the source full path to perform the snapshot.</p>

<p>Am I missing something?</p>

<p>Upgrade your az cli version.</p>
<p>I was getting this issue with az cli 2.0.75 returning an empty array for the disk list, with an AKS PV.</p>
<p>upgraded to az cli 2.9.1 and same command worked.</p>
