Skip to main content

Azure Communication Services SMS

Create a SMS provider in Casdoor and set Type to Azure ACS. You need: Client secret, Sender number, Provider Url, and Template code.

Casdoor fieldAzure ACS / meaningRequired
Client secretUser Access Token (Communication Service)Yes
Sender numberPhone number from Communication ServiceYes
Provider UrlCommunication Service endpointYes
Template codeMessage template / bodyYes

Get credentials in Azure

  • Client secret — In your Communication Service, create a User Access Token and use it as Client secret in Casdoor.

azureToken.png

  • Sender number — Use a phone number provisioned in the Communication Service.

azurePhone.png

  • Provider Url — Use the Communication Service endpoint URL.

azureUrl.png

Configure and test in Casdoor

Fill in the provider fields. Template code is the message (or template) to send. Use SMS Test with a phone number to verify.

azureProvider.png