Today I was creating an Azure CDN Profile, so I could deploy static content across different azure regions. So, I went to Azure Portal I start the process. First step is to create the CDN Profile. In this case I never use the CDN on this subscription, as you can see from the picture bellow.

Image1

Although during the process of creating the CDN Profile, after I click on the Create button, Azure validates if everything is OK. In this case, I got an error as shown on the picture bellow.

In order to create this CDN profile, please ensure that Microsoft.CDN is listed as a registered Resource Provider in your Azure subscription

Image2

What this means?

Means that not all the Azure Resource Providers available on this type of the subscription are not registered or yet available. Depending on the type of subscription, you might have the Resource Providers that are not even available to be used, or in this case to be registered.

For the CDN Resource Provider it was simple to verifying by using the PowerShell cmdlet

Get-AzResourceProvider -ProviderNamespace Microsoft.Cdn

Image3

After you validate the resource in unregistered, you can run the PowerShell cmdlet to registered

Register-AzResourceProvider -ProviderNamespace Microsoft.Cdn

Image4

After that, I was able to procced with the configuration of the CDN successfully.

Cheers,

Marcos Nogueira
Azure MVP
azurecentric.com
Twitter: @mdnoga