Hii @Salvador Lourenço
Thank you for reaching us about the issue configuring Azure Communication Services for email on the custom domain hiqi.eu.
DKIM and DKIM2 verification failures occur when Azure Email Communication Service cannot read the required DKIM CNAME records from DNS, even if the domain and SPF are already verified.
Please follow the below recommendations to resolve the issue:
- Validate DKIM and DKIM2 CNAME records in DNS
Azure Email Communication Service requires two DKIM CNAME records (DKIM and DKIM2). These records must exactly match the values provided in the Azure portal, including:
- Correct selector name (for example:
selector1-azurecomm-prod-net._domainkey)
- Correct target ending with
.azurecomm.net
- No extra spaces, typos, or modified hostnames
If either CNAME record is missing or incorrect, Azure will not be able to verify DKIM or DKIM2.
- Confirm DKIM records using nslookup
It is recommended to validate DNS resolution before retrying verification:
nslookup -q=CNAME selector1-azurecomm-prod-net._domainkey.yourdomain.com
nslookup -q=CNAME selector2-azurecomm-prod-net._domainkey.yourdomain.com
If these commands do not return the expected CNAME targets, the service will not be able to complete DKIM/DKIM2 verification.
- Ensure SPF uses a hard fail (-all)
SPF must be configured as:
v=spf1 include:spf.protection.outlook.com -all
Using a soft fail (~all) instead of a hard fail (-all) can prevent sender authentication from completing properly and may affect DKIM validation status.
- Wait for DNS propagation and retry verification
Microsoft notes that DNS propagation delays or DNS‑provider behavior can cause repeated verification failures. Verification should only be retried after DNS records are resolvable via lookup tools.
Reference:
https://learn.microsoft.com/en-us/azure/communication-services/concepts/email/email-domain-configuration-troubleshooting
https://learn.microsoft.com/en-us/azure/communication-services/concepts/email/email-domain-and-sender-authentication
Kindly let us know if the above 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.