Azure CDN Standard from Microsoft (classic) retires on 30 September 2027: an exit checklist
Microsoft is retiring Azure CDN Standard from Microsoft (classic) and moving its users to Azure Front Door Standard or Premium. There's a zero-downtime migration tool, but no rollback, and some things don't come across. This is the list we work through.
The dates
| Date | What happens |
|---|---|
| 15 Aug 2025 | No new classic CDN resources, no new domain onboarding, no managed certificates (retirement FAQ). |
| 14 Apr 2026 | Existing managed certificates that were renewed before 15 August 2025 are valid until this date (Microsoft: service tiers timeline). |
| Until 30 Sep 2027 | Existing resources can still be updated through the portal, Terraform and command-line tools. |
| 30 Sep 2027 | Retirement. You can no longer create or manage classic CDN resources, reach them through the portal or APIs, get updates or get support. |
| 31 Mar 2028 | After migration, the classic endpoint keeps working until this date. From 1 April 2028 classic endpoints might stop functioning (CDN migration guide). |
The retirement covers the public cloud and Azure Government in the Arizona and Texas regions. One small inconsistency: the azurerm provider docs give 1 October 2025 as the date the Standard_Microsoft SKU was deprecated (azurerm_cdn_profile). Microsoft's FAQ says 15 August 2025. We go with Microsoft.
Before you migrate
- List every classic profile and endpoint. Endpoints map one to one to Front Door endpoints. An endpoint in a Stopped state can't be migrated, so start it or delete it.
- Remove WAF associations. WAF on classic CDN is in preview. If a policy is associated, remove the association before validation and create a new WAF policy on Front Door after migration.
- Check endpoint name length. Names longer than 46 characters have to be shortened during prepare, because Front Door adds a 16-character hash and the limit is 64 (migration steps).
- Check certificates. If you bring your own certificate, the migration has a step to enable a managed identity and grant it access to Key Vault. If you used managed certificates and they've expired, the FAQ says they go into Pending Revalidation or start rotating one to two days after migration; you can regenerate the validation token with PowerShell or the CLI and add the new TXT record.
- Pick the tier. Standard or Premium. A profile that exceeds Standard limits migrates to Premium anyway, and Premium can't be downgraded to Standard later. See Standard vs Premium.
- Run the numbers. Front Door has a base fee per profile that classic CDN doesn't. In Microsoft's price comparison a small static site costs about 33% more on Front Door Standard, while larger or rules-heavy setups come out about even or slightly cheaper. Microsoft's advice: don't migrate nonessential profiles; recreate them as endpoints under a Front Door profile after migration.
- Plan a change freeze. After you start the prepare phase you can't change the classic profile.
- Accept the name. The Front Door profile keeps the classic profile's name, and you can't change it during migration.
During the migration
The tool sits under Migration in the classic profile's settings. The phases are the same as for Front Door (classic):
- Validate. Takes up to two minutes. Errors come with suggested fixes.
- Prepare. Choose the tier and confirm. You get a read-only view of the new profile to check.
- Enable managed identity and grant Key Vault access. Only needed with your own certificates.
- Migrate. Takes a few minutes depending on the profile. Until you commit you can abort, which deletes the new profile; WAF policy copies have to be deleted by hand.
After migration the classic profile is no longer visible in the portal. Front Door billing starts when the migration completes, and there is no way back to classic.
What doesn't migrate, or changes on the way
From the breaking changes and resource mapping in Microsoft's guide:
- Logs and metrics. Not migrated, and the log fields are different. Turn on diagnostic logging after migration. Core Analytics isn't available on Front Door; built-in reports replace it.
- Certificate name check. Off on classic CDN, on by default in Front Door. Migrated origins keep it off to avoid breaking anything. Microsoft recommends turning it on afterwards.
- Session affinity. Disabled after migration. You can enable it in Front Door.
- Routes and rule sets. Classic CDN has neither. The tool creates a default route named after the endpoint with hyphens removed (
contoso-1.azureedge.netbecomes contoso1) and groups all rules into one rule set, for example contosoMigratedRuleSet. Global rules become a rule set without conditions. - Query string caching. Bypass caching for query strings becomes a rule set called bypassCachingforQueryStringMigrated.
- Geo filters. Become custom rules in a new WAF policy at the profile's tier.
- Origin response timeout. Stays at the classic default of 30 seconds and can be changed.
- The
*.azureedge.netendpoint. Shows up in the new profile as a migrated domain. It can only be deleted after you change the CNAME to the new endpoint name.
IaC and scripts
Microsoft's post-migration guide lists the swaps:
| Tool | Classic CDN | Front Door Standard / Premium |
|---|---|---|
| Terraform | azurerm_cdn_* | azurerm_cdn_frontdoor_* |
| PowerShell (Az.Cdn) | AzCdn commands | AzFrontDoorCdn commands |
| Azure CLI | az cdn | az afd |
| Bicep / ARM | Export the migrated profile as an ARM template and decompile to Bicep; the resource type is Microsoft.Cdn/profiles with child resources. | |
Terraform gets one break here that Front Door (classic) users don't. Microsoft says the resource ID doesn't change after a CDN migration, and the azurerm import IDs for azurerm_cdn_profile and azurerm_cdn_frontdoor_profile both use Microsoft.Cdn/profiles/<name>. So the profile can be imported under the new resource type with the same ID. Everything under it is new: classic endpoints are /endpoints/, Front Door endpoints are /afdEndpoints/, and routes, origin groups and rule sets didn't exist before.
removed {
from = azurerm_cdn_endpoint.static
lifecycle {
destroy = false
}
}
removed {
from = azurerm_cdn_profile.main
lifecycle {
destroy = false
}
}
import {
to = azurerm_cdn_frontdoor_profile.main
id = "/subscriptions/<sub-id>/resourceGroups/rg-cdn/providers/Microsoft.Cdn/profiles/cdn-prod"
}
import {
to = azurerm_cdn_frontdoor_endpoint.static
id = "/subscriptions/<sub-id>/resourceGroups/rg-cdn/providers/Microsoft.Cdn/profiles/cdn-prod/afdEndpoints/static"
}
Then import the default route, origin group, origins, rule set and custom domains the same way, and plan until it shows no changes. The provider gotchas (route origin links, depends_on on rules, sku_name forcing a new resource) are in Terraform after the Front Door migration.
After the migration
- Repoint custom domains from the
*.azureedge.netname to the new endpoint name, the one with the hash. - Replace the classic hostname in code. Microsoft's advice for apps that call the CDN endpoint directly is to switch to a custom domain name. Do it before 31 March 2028; how to find stragglers is in the classic endpoint article.
- Turn on diagnostics and alerts on the new profile.
- Turn on certificate name checks on origins, once you've confirmed the origin certificates match.
- Clean up. The FAQ says to delete the classic resource once migration completes; Azure Advisor sends a reminder.
Need it done for a fixed price? Start with a free Readiness Check
We inventory your classic CDN profiles, check costs and IaC, and give you a written plan and a fixed quote before anything changes. How we run it: Azure CDN (classic) migration. If you also run Front Door (classic), it fits into the same check: Front Door (classic) migration.
Sources: Microsoft: CDN Standard from Microsoft (classic) retirement FAQ · Microsoft: CDN (classic) to Front Door migration · Microsoft: migration steps · Microsoft: Front Door and CDN comparison · Microsoft: CDN and Front Door price comparison · Microsoft: post-migration DevOps experience · azurerm_cdn_profile · azurerm_cdn_endpoint · azurerm_cdn_frontdoor_profile · azurerm_cdn_frontdoor_endpoint. Last reviewed 12 November 2026.