Email communication connection string not found in properties

SabariDev 25 Reputation points
2025-05-23T14:52:23.9466667+00:00

I have created a email communication service resource, I have successfully setup a custom domain and verified. I am unable to find connection string and access key parameters in the properties section.

Note: I need to send email from my spring boot application via Azure Email communication. service through a custom domain (verified domain)

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

Accepted answer
  1. Laxman Reddy Revuri 5,395 Reputation points Microsoft External Staff Moderator
    2025-05-23T15:03:22.5233333+00:00

    Hi @SabariDev
    It sounds like you’re trying to send emails from your Spring Boot application using the Azure Email Communication Service, but you can’t find the connection string and access key parameters in the properties section.

    1.First, ensure you’re looking in the right place on the Azure portal. You can find your connection string and access key in the Azure portal under your Email Communication resource.

    Go to your Email Communication service.

    Look for the “Keys” or "Connection Strings" section.

    2.When you find the connection string, it should look something like this:

    String connectionString = "endpoint=https://<resource-name>.communication.azure.com/;accesskey=<access-key>";
    Screenshot_23-5-2025_20394_portal.azure.com

    Make sure you replace <resource-name> and <access-key> with your actual resource name and access key.

    Once you have the connection string, you can set up the email client in your Spring Boot application like this:

    EmailClient emailClient = new EmailClientBuilder()

        ``.connectionString(connectionString)

        ``.buildClient();
    references:
    https://learn.microsoft.com/en-us/answers/questions/1616248/how-to-get-the-connection-string-from-the-email-co

    Please accept as "Yes" if the answer provided is useful , so that you can help others in the community looking for remediation for similar issues.


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.