An Azure communication platform for deploying applications across devices and platforms.
Hii Augustin,
It sounds like you're facing issues with your SPF verification remaining stuck and getting a DomainNotLinked error when trying to send emails with Azure Communication Services. Let's break down what you can try:
- SPF Record Verification: First off, your SPF record appears to be set up correctly: v=spf1 include:spf.protection.outlook.com -all However, make sure there are no other conflicting SPF records in your DNS. You can use
nslookupto double-check this by running:
Ensure that the output shows no duplicates or unexpected entries.nslookup -q=TXT agir-ensemble.be - SPF Verification Delay: Sometimes, SPF verification can take longer than expected due to DNS propagation issues. Even though you mentioned that propagation is confirmed, it might still be worth setting the TTL (Time to Live) for the SPF record lower (like 300 seconds) to ensure faster updates. After changing this, you might want to refresh your DNS settings in the Azure portal by attempting to verify the domain again.
- Link the Verified Domain: In the Azure portal, double-check under Email > Connected Domains and ensure that you have attempted to link your verified domain (
agir-ensemble.be) to the Email Communication Services resource. - Force-Refresh SPF Verification: Unfortunately, there isn't a direct way to force-refresh the SPF verification process. However, rechecking and ensuring all settings are correct, and possibly removing and re-adding the SPF record in your DNS, can help trigger a new check on Azure's end.
- Backend Issues: If after following these steps the issue persists, there might be a backend validation issue within Azure Communication Services. In that case, it’s advisable to reach out to Azure Support for further assistance.
References:
- Troubleshooting and Configuring Custom Domains and SPF Records https://learn.microsoft.com/en-us/azure/communication-services/concepts/email/email-domain-configuration-troubleshooting?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider#2-unable-to-verify-spf-status
- Add Custom Verified Email Domains
https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/add-custom-verified-domains?pivots=platform-azp - Connect an Email Communication Resource
https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/connect-email-communication-resource?pivots=azure-portal - SPF Records Best Practices
Kindly let us know if the above comment helps or you need further assistance on this issue.
Please "Accept" if the information helped you. This will help us and others in the community as well.