Hi Pavlin Penev,
solution by pavlin - Yes, we managed to fix the issue. We deleted the set custom domain, the already set TXT record and re-added it using CNAME directly and it validated.
You're absolutely right that the domain ownership validation step comes first, and the CNAME should only be added after successful validation. Since the error is occurring during the TXT record validation, here are a few things we can double-check to help move this forward:
- TXT Record Name Format For a
www
subdomain, Azure typically expects the TXT record name to be: asuid.www Please ensure that your DNS provider hasn’t automatically appended the domain name (e.g.,asuid.www.example.com
), which can cause validation to fail. - TXT Record Value Double-check that the value matches exactly what Azure provided — no extra quotes, spaces, or formatting changes.
- DNS Lookup Confirmation You can use a tool like https://toolbox.googleapps.com/apps/dig/ to confirm the TXT record is publicly visible. Just run: dig TXT asuid.www.example.com
- Azure Cache or Stale Validation If everything looks correct, try removing the domain from Azure, waiting 10–15 minutes, and then re-adding it. This can help clear any cached validation attempts.
If you have any further assistant, do let me know.