i added my custom doimain in email communication service, and when i am trying to connect it to communication service, that domain is not shown in dropdown even though domain is verified

Prathik shetty 0 Reputation points
2024-07-03T08:50:51.76+00:00

Firstly i created a email communication service and whitelisted the domain by adding MX record and TXT

User's image then created communication service and trying to add domain in domain section
where in dropdown i am not able to find verified domain
User's image

in backend white hitting communication service getting below error
Error sending email: RestError: The specified sender domain has not been linked.

{

"name": "RestError",

"code": "DomainNotLinked",

"statusCode": 404,

"request": {

"url": "https://sd-email-notification.india.communication.azure.com/emails:send?api-version=2023-03-31",

"headers": {

  "content-type": "application/json",

  "accept": "application/json",

  "accept-encoding": "gzip,deflate",

  "user-agent": "azsdk-js-communication-email/1.0.0 core-rest-pipeline/1.16.1 Node/18.20.1 OS/(x64-Windows_NT-10.0.22631)",

  "x-ms-client-request-id": "ad7867f2-eeb7-4725-a751-e6a9468bfff8",

  "host": "REDACTED",

  "x-ms-date": "REDACTED",

  "x-ms-content-sha256": "REDACTED",

  "authorization": "REDACTED",

  "content-length": "310"

},

"method": "POST",

"timeout": 0,

"disableKeepAlive": false,

"streamResponseStatusCodes": {},

"withCredentials": false,

"requestId": "ad7867f2-eeb7-4725-a751-e6a9468bfff8",

"allowInsecureConnection": false,

"enableBrowserStreams": false

},

"details": {

"xMsErrorCode": "DomainNotLinked",

"content-length": "144",

"content-type": "application/json; charset=utf-8",

"mise-correlation-id": "3f576fd0-b4f3-4af1-9b5e-128d70fa0504",

"api-supported-versions": "2021-10-01-preview, 2023-01-15-preview, 2023-03-31",

"x-cache": "CONFIG_NOCACHE",

"strict-transport-security": "max-age=31536000;includeSubDomains",

"x-azure-ref": "0aQ6FZgAAAACfqI4hJoNNQa6HTOZiJ+XASEtCRURHRTA3MjIAOWZjN2I1MTktYThjYy00Zjg5LTkzNWUtYzkxNDhhZTA5ZTgx",

"date": "Wed, 03 Jul 2024 08:40:11 GMT",

"error": {

  "code": "DomainNotLinked",

  "message": "The specified sender domain has not been linked.",

  "target": null,

  "details": null,

  "innererror": null

}

},

"message": "The specified sender domain has not been linked."

}

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

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,506 Reputation points
    2024-07-05T09:32:40.19+00:00

    @Prathik shetty Thanks for asking question! Could you please confirm if you have followed below steps-

    Also Note that- We allow only connecting the domains in the same geography. Please ensure that Data location for Communication Resource and Email Communication Resource that was selected during resource creation are the same.

    Check this Thread for similar issue resolved by customer- https://video2.skills-academy.com/en-us/answers/questions/1183905/azure-communication-service-give-error-the-specifi

    Please let us know if issue remains.

    0 comments No comments

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.