Cookie Consent by Free Privacy Policy Generator
Tech Hint - Consult and transfer from Dynamics 365 Customer Service or Contact Center to Microsoft Teams
Photo by ThisisEngineering on Unsplash

Suppose you have upgraded to the enhanced voice experience (vNext) in Dynamics 365 Customer Service / Contact Center. In that case, you can empower your representatives to consult with or transfer voice calls to Microsoft Teams subject matter experts (SMEs). This advanced feature is facilitated through Azure Communication Services Call Automation. By leveraging this capability, SMEs can seamlessly join customer service conversations directly from Microsoft Teams, eliminating the need to configure a separate phone number. Any Teams user within your tenant who appears in the Teams search box can receive calls from your customer service representatives. This integration ensures your team can collaborate efficiently and provide timely customer assistance, enhancing the overall service experience.

transfer and consult experience in Agent Workspace transfer and consult experience in Agent Workspace

To allow the representatives to consult with Microsoft Teams users, enable the External Microsoft Teams users in Consult and Transfer settings in the voice channel section of the voice workstream.

Calling services are charged per minute on a per-participant basis. Representatives can transfer or consult with Microsoft Teams users on certain Teams clients only.

If the Teams user rejects the call or is unavailable, there isn’t an option to leave a voicemail for the caller, and the call isn’t forwarded to another number. This is because the call from Dynamics 365 is considered a group call, and Teams doesn’t honor voicemail or call forwarding settings when adding a Teams user to a group call.

You must use enterprise voice in Microsoft Teams to enable the consult and transfer feature via Microsoft Teams tabs; if you use a PBX for voice calls parallel to Teams, you can’t use the consult and transfer feature here. You have to use the External number tab.

Steps to enable consult and transfer from Dynamics 365 Customer Service to Microsoft Teams

  • Enhanced Voice Channel Activation: Your organization must enable the enhanced voice channel. This feature is essential to facilitating the integration between Dynamics 365 and Microsoft Teams, allowing seamless voice communication and transfer capabilities.
  • Firewall Configuration: Ensure that the following IP address ranges are allowed through your organization’s firewall:
  • Teams Phone System Licenses: The Teams users who will be added to calls must have the appropriate Teams Phone System Licenses assigned. This licensing is crucial to enable the voice features within Microsoft Teams required for the consult and transfer process.
  • Enterprise Voice Enablement: Enterprise Voice must be enabled within your Microsoft Teams environment. This setting ensures that the consult and transfer feature operates correctly, allowing representatives to connect with subject matter experts efficiently.
    Set-CSPhoneNumberAssignment –Identity [user email address] -EnterpriseVoiceEnabled $true
  • External Access Policy must be enabled.
    Set-CsExternalAccessPolicy -Identity Global -EnableAcsFederationAccess $true
  • Teams and Azure Communication Services federation for a Teams tenant must be enabled, and the Azure Communication Services resources that can connect to Teams must be specified.

    • Get the immutable resource ID of the Azure Communications Service resource select the resource in portal.azure.com select the resourse in portal.azure.com

    find the immutable resource ID in the displayed json file find the immutable resource ID in the displayed json file

    • Check for the PowerShell modules for Microsoft Teams with Get-module *teams*; if not installed, install it with the following commands
    Install-Module -Name MicrosoftTeams
    Update-Module MicrosoftTeams
  • Connect to Microsoft Teams with Connect-MicrosoftTeams.

  • Get Microsoft Teams Azure Communication Services allow list with Get-CsTeamsAcsFederationConfiguration

  • Add current Azure Communications Service resource ID to these existing resource IDs by setting the new Teams Azure Communications Service allow list.

    $allowlist = @('<UPDATED_ACS_RESOURCE_IDs>') Set-CsTeamsAcsFederationConfiguration -EnableAcsUsers $True -AllowedAcsResources $allowlist

generative AI transparency note: Utilizing AI-supervised content allows me to expand the material for my scenarios. It enables me to offer a broader range of examples across various programming languages, delve into solutions with more depth, and address new scenarios more swiftly. As a non-native speaker, it enables me to write in proper English and avoid grammatical and orthographic mistakes. I use Github Copilot and grammarly to support me in this task.

Written by

Holger Imbery

Start the conversation