Sending email with ACS: DKIM, DMARC configuration

DonQuijote 61 Reputation points
2025-05-05T13:20:38.42+00:00

I send email with ACS email service using a custom domain for which I have verified the Domain, SPF and DKIM, Dkim2.

The verification status on ACS for DKIM indicates

{"status": "Verified",
    "errorCode": "None"}

When I send email to users on outlook the recipient message says: Authentication-Results with dkim=fail (no key for signature)

When I send email to users on gmail the recipient message says:

SPF: PASS

DKIM: 'PASS'

DMARC: 'FAIL'

Other recipients indicated: dkim=hardfail (signature did not verify [final])

I would need help troubleshooting the DKIM and potentially DMARC setup for my domain with ACS

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
1,239 questions
{count} votes

Accepted answer
  1. Suresh Chikkam 2,135 Reputation points Microsoft External Staff Moderator
    2025-05-19T08:27:54.6533333+00:00

    Thanks so much for taking the time to share your findings, DonQuijote. This kind of follow-up is really valuable for the community, especially for others troubleshooting email authentication issues with Azure Communication Services (ACS).

    Since Microsoft Q&A has a policy that the question author can’t mark their own answer as accepted (see policy), I’m summarizing your solution here so you can mark it as the accepted answer if it fully addressed the issue.

    Based on your testing, it looks like the DKIM failures were specific to sending emails through the ACS SMTP endpoint. Switching to the EmailClient SDK resolved the problem, suggesting that the SDK handles message formatting and signing in a way that maintains DKIM integrity whereas SMTP might be introducing subtle changes (like in header encoding or order) that cause DKIM verification to fail on the recipient side.

    This distinction is especially important for those relying on DKIM and DMARC compliance, since alignment issues can impact deliverability and domain reputation. It’s also useful to note that this issue seems to be recent, so it could potentially be related to updates in ACS’s SMTP pipeline.

    Hope it helps!


    Please do not forget to click "Accept the answer” and Yes

    User's image

    If you have any other questions, let me know in the "comments" and I would be happy to help you.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.