Create CDN profile

Kendrick 41 Reputation points
2020-06-20T10:50:58.9+00:00

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

what should i do?

My account is free trial, if I need to buy for any subscription?

Azure Content Delivery Network
{count} votes

4 answers

Sort by: Most helpful
  1. kamel BENYAHIA 56 Reputation points
    2020-11-08T20:15:02.52+00:00

    hello ,

    You have to lunch azure cloud shell and add CDN provider on your free trial subscription

    Register-AzResourceProvider -ProviderNamespace Microsoft.Cdn  
    

    source :

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/error-register-resource-provider

    regards

    11 people found this answer helpful.

  2. mcbsys 126 Reputation points
    2020-12-04T04:00:20.287+00:00

    @kamelBENYAHIA-9096, thank you for the reference to the Microsoft documentation. I believe the command for the Azure cloud shell is

    az provider register --namespace Microsoft.Cdn
    
    4 people found this answer helpful.
    0 comments No comments

  3. Cheuk Ting Hung 21 Reputation points
    2021-05-03T01:44:34.757+00:00

    you can register it with your portal.
    93058-image.png

    4 people found this answer helpful.
    0 comments No comments

  4. Leon Laude 85,666 Reputation points
    2020-06-20T12:36:25.693+00:00

    Hi,

    The CDN will not come under a free trial subscription, you'll need to have an active subscription (for example a Pay-As-You-Go subscription).

    10453-cdn-prereqs.png

    For more information, see:

    Quickstart: Create an Azure CDN profile and endpoint
    https://learn.microsoft.com/en-us/azure/cdn/cdn-create-new-endpoint

    (Please don't forget to accept helpful replies as answer)

    Best regards,
    Leon

    1 person found this answer helpful.