Link to home
Start Free TrialLog in
Avatar of NAMEWITHELD12
NAMEWITHELD12Flag for United States of America

asked on

AZURE AKS issue "The subscription is not registered for the resource type 'managedClusters'. Please re-register for this provider in order to have access to this resource type"

HI

I have created a resource group in the proper region ,  with

az group create -l westus2 -n MyResourceGroup
{
  "id": "/subscriptions/3ca28b06-8e84-4ae7-a9d4-3ae88c5daa03/resourceGroups/MyResourceGroup",
  "location": "westus2",
  "managedBy": null,
  "name": "MyResourceGroup",
  "properties": {
    "provisioningState": "Succeeded"
  },
  "tags": null
}

but when I run "az aks create -n mycluster -g myResourceGroup --generate-ssh-keys"

I get the error  "he subscription is not registered for the resource type 'managedClusters'. Please re-register for this provider in order to have access to this resource type"

how can I fix this , I cannot find anything about this issue , please help !!!

thanks !!!!!!!!!!!
ASKER CERTIFIED SOLUTION
Avatar of Dan Skorski
Dan Skorski

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NAMEWITHELD12

ASKER

thanks !