400 Client Error: Bad Request for url: https://management.azure.com/subscriptions/<guid>/resourcegroups/test-profile/providers/Microsoft.Resources/deployments/Deployment?api-version=2018-05-01
Repro steps
Save the template in a json file.
Run az command to deploy the template.
az group deployment create --name "Deployment" --mode Complete --resource-group such-resource-group --template-file "such-cdn.json"
[cdn-with-custom-domains]() - not available yet
Issue Details
Do you guys have ARM template example for CDN Profile with CDN endpoint that has custom domain?
We follow the doc laid out here: Microsoft.Cdn profiles/endpoints/customDomains template reference, but got
400 Client Error: Bad Request
error message.Template
Error
Repro steps
az
command to deploy the template.az group deployment create --name "Deployment" --mode Complete --resource-group such-resource-group --template-file "such-cdn.json"