Cannot enable "Microsoft.Container Service" in Azure

10/24/2019

I tried to run az provider register --namespace Microsoft.ContainerService with more than 2 hours. However, it still shows WindowsPreview in NotRegistered status.

It mentioned only It takes a few minutes for the registration to complete in this link but it has been taking more than 2 hours.

-- DaiKeung
azure
azure-kubernetes
preview

2 Answers

10/24/2019

The right command should be this:

az feature register --name WindowsPreview --namespace Microsoft.ContainerService

And the command you run is to refresh the registration of the Microsoft.ContainerService resource provider.

-- Charles Xu
Source: StackOverflow

10/24/2019

Even though the answer is provided by Charles, i would like to attach the list of commands that would help others,

az feature register --name "WindowsPreview" --namespace "Microsoft.ContainerService"

and list of commands

-- Sajeetharan
Source: StackOverflow