An Azure communication platform for deploying applications across devices and platforms.
To send test SMS messages from Azure Communication Services (ACS) to a personal phone using a toll-free number, two main pieces must be in place:
- Toll-free number verification/activation for SMS
For new toll-free numbers, SMS verification is mandatory for sending SMS traffic to US and Canada. Until the number is fully verified, SMS traffic to US/CA is blocked. Use the toll-free verification process described in the SMS quickstarts:- Follow the guidance in Quickstart for submitting a toll-free verification (linked from the SMS quickstarts as “Quickstart for submitting a toll-free verification”).
- Only fully verified toll-free numbers are authorized to send SMS traffic; any SMS traffic from unverified toll-free numbers to US and CA phone numbers is blocked.
- “To use a new toll-free number for sending SMS messages, you must complete a toll-free verification process.”
- “Only fully verified toll-free numbers are authorized to send out SMS traffic. Any SMS traffic from unverified toll-free numbers directed to US and CA phone numbers are blocked.”
- Configure sending SMS from ACS for dev/test
Once the toll-free number is verified, configure a simple sender to test to a personal phone: Option A – Use a Logic App / Power Platform flow- Create a workflow (Logic App or Power Automate flow).
- Add the Send SMS (or SMS) action/connector.
- Configure the connector with:
- The ACS connection string for the resource.
- From: the verified ACS toll-free number.
- To: the personal mobile number for testing.
- Message content: e.g., “Hello from Logic Apps!”
- Save the workflow and run it manually to send a test SMS.
The quickstart describes: specify source and destination phone numbers and message content, then select Save and Run to test.
- Ensure prerequisites for the chosen language (SDK, runtime, ACS resource, SMS-enabled number) are in place.
- Use the corresponding “Send an SMS message” quickstart for that language to configure:
- ACS connection string.
- From: ACS toll-free number.
- To: personal mobile number.
- Message text.
- Build and run the sample as described (for example, with Java:
mvn compile,mvn package, thenmvn exec:java ...).
- Troubleshooting delivery during dev/UAT
If messages do not arrive:- Confirm the toll-free number is fully verified; unverified numbers will be blocked for US/CA.
- Enable delivery reporting with Event Grid to capture delivery details, as described in the SMS quickstarts under troubleshooting.
- Scaling from dev to UAT
After basic dev testing to a personal phone works:- Reuse the same ACS resource and toll-free number.
- Point the “To” numbers at UAT test users’ phones.
- Optionally, add workflow logic (e.g., via Logic Apps/Power Automate) to integrate SMS into the application’s UAT flows.
References:
- Receive an SMS message (platform-power)
- Send an SMS message (programming-language-power-platform)
- Send an SMS message (programming-language-python)
- Send an SMS message (programming-language-java)
- Send an SMS message (programming-language-javascript)
- Send an SMS message (programming-language-csharp)
- Communication: Sending Email and SMS Messages
- SMS SDK overview