Azure Communication Services

Azure Communication Services


| July 20, 2022 | in

Sending SMS (text messages) is pretty straightforward. I have previously written blog posts on how to do this with Twilio and AWS SNS. Now Azure has a service that can send SMS messages without using another service.

To start, create an Azure Communication Service.

Communication Services box

Once your Communication Service is created, you need to get a phone number.

Screen showing that no phone numbers are set up

There are a good number of options to select from.

Number Details section

Features section

Navigate to Keys under Settings to get the connection string for your service.

Settings section

You can get a connection string from here that you can use directly in code.

Primary key section

Install the NuGet package.

dotnet add package Azure.Communication.Sms

The code is pretty straightforward.

Azure Communication Services looks like a good way to send notifications if you are already living within the Azure walls. Give it a try and tell me what you think.


Quickstart: Send an SMS message –

Related posts