Connect a Teams Phone resource account and phone number to Dynamics 365 Contact Center. This walkthrough covers the admin-center settings, Microsoft PowerShell script, licensing, number assignment, and synchronization.
If your organization already manages phone numbers in Microsoft Teams, you can connect a Teams Phone number to the voice channel in Dynamics 365 Contact Center. The setup uses a Teams resource account associated with the Dynamics application and your Azure Communication Services (ACS) resource. After you assign a service number to that resource account, you can sync it into Contact Center and use it when configuring a voice workstream.
This walkthrough follows the setup shown in the screenshots: find the tenant-specific IDs in the Copilot Service admin center, run Microsoft’s onboarding script, license the resource account, assign a Teams phone number, then sync the number into Contact Center.
What the ACS retirement means for this setup
Microsoft is retiring several standalone Azure Communication Services (ACS) capabilities used by some Dynamics 365 Contact Center configurations. The retirement date is September 30, 2028. It affects voice configured through ACS Direct Offer or Direct Routing, along with SMS and WhatsApp channels that use ACS. Microsoft says these existing workloads remain supported through the transition period; affected voice deployments must move to a supported Teams Phone extensibility path before the retirement date.
This walkthrough is already about the Teams Phone extensibility path. Microsoft lists existing Teams Phone extensibility voice configurations as unaffected, with no migration action required for that configuration. The setup screens still show an ACS resource ID because it is part of the Teams Phone association flow. That field alone does not mean the voice channel is using the retiring standalone ACS Direct Offer or Direct Routing service.
Phone-number acquisition rules also changed in 2026. Microsoft says organizations without an existing ACS resource cannot acquire or port numbers into ACS after September 30, 2026; organizations with an existing resource can continue to acquire or port numbers during the transition. For an affected ACS voice deployment, Microsoft’s migration guide maps ACS Direct Offer to Teams Calling Plan. For ACS Direct Routing, it describes Teams Direct Routing or Operator Connect, depending on carrier and SBC requirements. Confirm number portability, licensing, geography, and carrier arrangements before choosing a path.
See Microsoft’s ACS migration guidance for Dynamics 365 Contact Center and Azure Communication Services retirement guide for the current scope and timelines.
Before you start
Confirm that the voice channel is provisioned in Dynamics 365 Contact Center and that your tenant meets Microsoft’s licensing and telephony requirements. Teams Phone and PSTN connectivity must be configured. Microsoft lists Teams Calling Plan, Operator Connect, and Direct Routing as supported connectivity options for this setup; with a Calling Plan, service numbers are supported.
You also need the appropriate Teams administrator permissions. Microsoft’s current guidance calls for the Teams Administrator or Teams Telephony Administrator role to synchronize numbers, along with delegated Microsoft Graph permissions for reading Teams resource accounts. An administrator must grant consent to the required permission in Microsoft Entra ID. Check Microsoft’s documentation for the exact roles, permissions, and licensing that apply to your tenant before running the setup.
1. Choose a Teams phone number
In the Teams admin center, purchase a service phone number or select an unused number that is available for this Contact Center configuration. The screenshots use an existing number. Keep track of which number you intend to assign so you can confirm the same number appears after synchronization.



2. Find the ACS resource ID and Dynamics app ID
In the Copilot Service admin center, open Channels, manage Phone numbers, and select Advanced. On the Teams phone system tab, note the ACS resource ID and Dynamics app ID for your environment. The onboarding script uses these values to associate the Teams resource account with the Contact Center application and ACS resource.


Use the IDs from your own environment. Do not copy values from another tenant or from a sample screenshot.
3. Create and associate the Teams resource account
Run Microsoft’s TeamsPhoneSystem-TeamsAdminCenterOnboardScript.ps1 from an administrative PowerShell session. The script connects to Microsoft Teams and prompts for the resource account’s email address, display name, Dynamics app ID, and ACS resource ID. It creates the Teams resource account, associates it with the Dynamics application and ACS resource, and synchronizes the application instance.
Review the script and its prompts before running it, and use the current version from Microsoft’s Dynamics 365 Apps sample repository. The terminal screenshots show the script completing and returning the resource-account details.


If the script reports an error, resolve that before continuing.


Microsoft also documents the equivalent Teams PowerShell commands in its Teams Phone voice-channel setup guide.
4. Assign a license to the resource account
Assign the required Teams Phone resource-account license.

The setup screenshots show the resource account being selected and licensed in the Microsoft 365 admin center. Licensing requirements can change and depend on your calling configuration, so confirm the current requirements with Microsoft’s licensing guidance rather than relying on the screenshot alone.
5. Assign the phone number to the resource account
In the Teams admin center, assign the selected service number to the resource account.
Verify the assignment on the resource account before returning to Dynamics 365. The number needs to belong to the resource account for the subsequent sync to bring it into Contact Center.


6. Sync the number into Dynamics 365 Contact Center
Return to the Copilot Service admin center and open the Teams phone system settings. Choose Sync from Teams. After the synchronization completes, refresh the phone-number list if needed and confirm the number appears.



The number is now available to select when you set up a voice workstream. Continue with Microsoft’s guidance for configuring Teams Phone in the voice channel and setting up inbound calling. Synchronization is only one part of the configuration: the workstream, voice channel, routing, and calling behavior still need to be configured and validated for your scenario.
A few checks before testing
Before you route calls, confirm that the resource account has the right license and number, that the number is visible in Contact Center, and that the workstream is associated with the intended number. Test with the calling scenarios your organization needs, including any external consult or transfer behavior. Microsoft’s documentation notes that additional PSTN, role, and permission requirements apply; validate these in your tenant before rollout.
