<p>I'm having a problem going through the step in the <a href="https://learn.microsoft.com/en-us/azure/aks/kubernetes-walkthrough" rel="nofollow noreferrer">Quickstart for Azure Kubernetes cluster for Linux</a>. </p>

<p>The following command creates a resource group successfully:
    $> az group create --name myResourceGroup --location eastus</p>

<p>However, I get an error when trying to create the Kubernetes cluster:
    $> az aks create --resource-group myResourceGroup --name myK8sCluster --node-count 1 --generate-ssh-keys</p>

<p>The error returned is:</p>

<p>"Operation failed with status: 'Bad Request'. Details: Service principal clientID: b986e403-1baa-4e97-8fea-e0a411516c61 not found in Active Directory tenant fee04516-9fb0-4e3e-a906-0b8d8bb493d6, Please see <a href="https://aka.ms/acs-sp-help" rel="nofollow noreferrer">https://aka.ms/acs-sp-help</a> for more details".</p>

<p>Any thoughts on what the problem is?</p>

<p>Thanks,
Cameron.</p>

<p>yes you cannot create kubernete cluster in azure without app registration in AD, for that u need to create role,serviceprincipal,application in AD tenant and it should be on same region. follow these 2 links to create serviceprincipal either from cli or portal.
<a href="https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal</a>
<a href="https://learn.microsoft.com/en-us/azure/container-service/kubernetes/container-service-kubernetes-service-principal" rel="nofollow noreferrer">https://learn.microsoft.com/en-us/azure/container-service/kubernetes/container-service-kubernetes-service-principal</a></p>
