Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Your CNAME is correctly configured and resolving to the App Service in West Europe. However, the site is currently serving Azure’s default *.azurewebsites.net wildcard certificate, which is causing the hostname mismatch shown in the SSL check.
The error you’re encountering — “The resource 'www.[yourdomain].com-[suffix]' already exists in location 'canadacentral'...” — is a known issue with App Service Managed Certificates. A previous attempt has left behind a stale internal certificate resource in Canada Central that isn’t visible in the normal portal views.
Recommended Solution:
- Find the hidden certificate using Resource Graph Explorer in the Azure portal:
Resources | where type == "microsoft.web/certificates" | where name contains "yourdomain" | project name, location, resourceGroup, id - you can try below Bash command to check the certificates
az webapp config ssl list --resource-groupaz resource list \ --resource-type Microsoft.Web/certificates \ --subscription {subscription-id} \ --output table
Delete the stale resource using Azure CLI (replace with the exact values from the query):
az resource delete \
--ids "/subscriptions/{your-subscription-id}/resourceGroups/{your-resource-group}/providers/Microsoft.Web/certificates/[exact-certificate-name-from-query]" \
--api-version 2022-09-01
Alternatively, you can browse and delete it via Azure Resource Explorer under Microsoft.Web >certificates.
Wait 10–15 minutes, then return to your App Service >TLS/SSL settings and try creating the App Service Managed Certificate again for your www subdomain.
Reference :
https://techcommunity.microsoft.com/blog/appsonazureblog/get-web-apps-certificates-in-bulk/3436666
If the answer is helpful, Please do click "Accept the answer” and Yes, this can be beneficial to other community members.
If you have any other questions, let me know in the "comments" and I would be happy to help you