Failed to register the Microsoft.DevSpaces provider in this subscription

114 Views Asked by At

I have created AKS cluster and then tried to enable the Azure Dev Spaces for this cluster. On saving the changes I am getting an error saying : Failed to register the Microsoft.DevSpaces provider in this subscription

On checking my permissions I found that I am owner for this resource group but not the subscription.

Can anyone help me to know how to fix this issue

2

There are 2 best solutions below

1
On BEST ANSWER

As a workaround you can try to enable devspaces using cli command mentioned as follows.

az aks use-dev-spaces -g **ResourceGroup** -n **ClusterName**
2
On

You need to register Microsoft.DevSpaces registry in the azure portal for your subscription to get rid of this issue,

Follow the steps here.