I have a custom domain associated with a front-end host in azure front door. I want to delete this domain association but getting a error which says "Please remove the DNS CNAME records and try again.". Why am I getting this error. Does this mean I need to remove CNAME record from my domain provider? If it is so, it will be problematic in CI/CD pipeline. Attaching screenshot of the error.
I've found this issue #11231 in GitHub. Looks like they have introduced this breaking change recently. But it seems like it can be disabled by registering feature flag according to comment from the issue:
az feature register --namespace Microsoft.Network --name BypassCnameCheckForCustomDomainDeletion
But be aware that it's subscription level.