<p>I am getting this error(ResourceGroupNotFound) while running this command &lt;az aks get-credentials --resource-group AKSResourceGroupName --name AKSClusterName&gt;</p>
<p>Error message :-</p>
<p>az aks get-credentials --resource-group AKSResourceGroupName --name AKSClusterName
(ResourceGroupNotFound) Resource group 'AKSResourceGroupName' could not be found.
Code: <strong>ResourceGroupNotFound</strong>
Message: Resource group 'AKSResourceGroupName' could not be found.</p>

user17784455
<p><code>az aks get-credentials</code> command is used to
Get access credentials for a managed Kubernetes cluster.</p>
<p>Example:</p>
<pre><code>az aks get-credentials --name MyManagedCluster --resource-group MyResourceGroup
</code></pre>
<p><strong>name</strong> and <strong>resource-group</strong> are required parameters  where you should provide Name of your managed cluster and Name of your resource group.</p>
