Azure Communication Services provides communication infrastructure for applications without requiring developers to operate their own messaging servers or real-time media platform. Its capabilities include internet-based voice and video, PSTN connectivity, persistent chat, SMS, email, WhatsApp messaging, and server-controlled calling workflows. Feature availability varies by SDK, Azure cloud, geography, telephone number type, and regulatory eligibility, so validate the specific deployment combination before implementation.
Lifecycle planning is essential. The standalone offering retires on September 30, 2028. Email, SMS, Advanced Messaging with WhatsApp, Chat, Chat for Teams Meeting interoperability, Rooms, Number Management through the direct offer, Direct Routing, Job Router, and the Web and Mobile UI Library SDKs are scheduled to retire and stop functioning. Voice and Video Calling SDK, Call Diagnostics, Call Automation, Audio Streaming, Call Recording, and Closed Captions have breaking changes and require migration to supported Teams-aligned scenarios. Do not assume that an existing standalone calling deployment can continue unchanged after that date.
A typical implementation separates the application backend from communication clients. The backend authenticates users through the application's identity system, maps them to Communication Services identities, and issues appropriately scoped access tokens. Browser or native clients use these tokens with supported SDKs. Keep resource keys and connection strings on trusted servers rather than embedding them in applications distributed to users. Communication identities identify endpoints; they do not replace application-level authentication or authorization.
For calling, distinguish internet-based participant connections from telephone connections because their setup, routing, and billing differ. Client SDKs handle media devices and calling interactions, while Call Automation lets a backend answer calls, play prompts, collect input, add participants, and control recordings where supported. Incoming-call events can trigger backend processing through Event Grid, while call-operation callbacks report asynchronous outcomes to application endpoints. Implement these event paths separately and correlate them with application records.
Messaging channels also require channel-specific setup. Email requires a separate Email Communication Services resource and a connected sending domain; custom domains require DNS verification and sender authentication configuration. SMS requires an eligible sender and any applicable registration. WhatsApp messaging requires the relevant business onboarding and messaging permissions. An accepted API request is not proof of recipient delivery, so process delivery events and retain correlation identifiers.
Production systems should enforce consent and retention policies, protect callback endpoints, and handle throttling and transient failures without creating duplicate customer interactions. Validate microphone and camera permissions, enterprise firewall behavior, and network quality on supported client platforms. Use diagnostic logs and client media statistics to investigate failures, and account separately for communication usage, telephone numbers, AI processing, application hosting, and retained recordings. Existing deployments should inventory affected APIs, SDKs, numbers, and workflows and establish a migration plan before the retirement deadline.