<p>My private AKS Cluster is accessible only to the root user using <code>kubectl</code> on a jumphost. But for a non-root user it throws below error message:</p>
<pre class="lang-bash prettyprint-override"><code>someuser@jump-vm$ kubectl get pods -A
Error from server (Forbidden): pods is forbidden: User &quot;XX-XX-XX-XX-XX&quot; cannot list resource &quot;XX&quot; in API group &quot; &quot; at the cluster scope
</code></pre>
<p>How to resolve this error?</p>

Rajesh Swarnkar
<p>in this case solution was to delete the old config from <code>$HOME/.kube/</code> and re-initialize it after <code>az login</code> with the user in question</p>
