Prompt
Azure Communication Services SMS
Latest observation
Oct 14, 2026
OpenAI APIWeb search: off
Azure Communication Services (ACS) SMS lets you send and receive text messages programmatically using Microsoft’s Azure Communication Services.
What it’s for
- Send one-way SMS notifications
- Receive replies via SMS (if configured)
- Use for alerts, verification, reminders, and transactional messages
Core pieces
- ACS resource in Azure
- Phone number capable of SMS
- SDKs/APIs for sending messages
- Optional Event Grid / webhooks for delivery and inbound events
Typical send flow
- Create an Azure Communication Services resource
- Acquire an access key / connection string
- Get an SMS-capable phone number
- Use the ACS SDK to send a message to a recipient phone number
- Track delivery status through events
Example in C# (sending SMS)
using Azure.Communication.Sms;
var connectionString = "<ACS_CONNECTION_STRING>";
var client = new SmsClient(connectionString);
var response = await client.SendAsync(
from: "<ACS_PHONE_NUMBER>",
to: new[] { "+15551234567" },
message: "Hello from Azure Communication Services!"
);
Console.WriteLine($"Message ID: {response.Value.MessageId}");
Example in JavaScript/Node.js
const { SmsClient } = require("@azure/communication-sms");
const connectionString = "<ACS_CONNECTION_STRING>";
const client = new SmsClient(connectionString);
async function sendSms() {
const response = await client.send({
from: "<ACS_PHONE_NUMBER>",
to: ["+15551234567"],
message: "Hello from Azure Communication Services!"
});
console.log(response);
}
sendSms();
Things to watch out for
- SMS availability depends on country/region and number type
- Some countries require registration or approval for SMS
- Carrier filtering can affect deliverability
- Use E.164 phone number format, e.g.
+15551234567
If you want, I can help with:
- Setting it up in Azure Portal
- Writing code in C#, JavaScript, Python, or Java
- Receiving inbound SMS
- Comparing ACS SMS vs Twilio
- Troubleshooting delivery issues
If you want, I can give you a step-by-step setup guide or a working code sample for your language.