I'm unable to create a free App Service Managed Certificate for a custom subdomain on my Linux B1 App Service (West US 2).
THE ERROR:
When I click "Add binding" on my custom domain and select "Create App Service Managed Certificate" with SNI SSL, it fails with:
"Hostname not eligible for App Service Managed Certificates creation. Ensure that your domain has an active CNAME record which is set to <myapp>.azurewebsites.net."
WHAT I'VE TRIED AND VERIFIED:
- CNAME record is correctly configured and confirmed via nslookup, Google DNS (8.8.8.8), and Cloudflare (1.1.1.1)
- Azure's own "Diagnose and solve problems" tool shows "DNS Name resolution check passed" and resolves to the correct App Service IP
- TXT verification record (asuid.<subdomain>) is set with the correct Custom Domain Verification ID
- The custom domain validates successfully and is added to the App Service with a green checkmark
- Public network access is enabled with no restrictions
- HTTPS Only is turned off
- No private endpoints, IP restrictions, or VNet integration
- Deleted and re-added the custom domain multiple times
- Tried switching from CNAME to an A record pointing directly to the App Service IP - same error
- Tried creating the certificate via Azure CLI (az webapp config ssl create) - same failure
- This has been failing for over 48 hours
THE CONTRADICTION:
Azure's own diagnostic tool confirms the DNS is correctly configured, yet the managed certificate creation rejects it with the same error every time. The domain validation step passes — only the certificate creation fails.
I suspect this may be a stale internal DNS cache on the certificate provisioning side. I'm on a Basic support plan so I cannot file a technical support ticket.
Has anyone encountered this and found a resolution? Is there a way to force a cache refresh on the managed certificate validation system?
Any guidance from Microsoft engineers would be greatly appreciated.