Microsoft Teams Connection

Microsoft Teams Connection #

~.Dimensions.~ can model Teams communications on their own or in conjunction with your PBX communications in order to provide a complete overview of your business communications.

Microsoft Teams modelling uses the Microsoft Graph API to retrieve call and meeting data. ~.Dimensions.~ can model calls for all users within a Microsoft Teams tenant, or can be restricted to model calls for only users who are members of specific groups within the Microsoft Tenant.

Information Circle info
The Microsoft Graph API does not provide call information in real-time. Call events are provided post call and can take up to 150 minutes to received.

Teams Configuration #

Below is a guide on configuring Teams to support the ~.Dimensions.~ Microsoft Teams integration. For ~.Dimensions.~ to model Teams calls, the ~.Dimensions.~ application must be authorised to access the Microsoft Graph API.

Click on the 'Review and Grant Admin Consent' button within the request email or following the link you have been provided by your supplier. to begin the process.

The following screen will be displayed which will show the permissions that the ~.Dimensions.~ application is requesting to access the Microsoft Graph API:

image.png

Once the permission is granted, your connection to Teams should be enabled and should start modelling data.

Users #

By default, ~.Dimensions.~ will model all users within the Microsoft Teams tenant. If you wish to restrict modelling to only specific users, you can do this by creating a group within the Microsoft Teams tenant and adding the relevant users to that group.

To restrict modelling to only users within a specific group, successfully add the Teams connection, then provide your supplier with the name of the group you wish to model calls for.

Color Wand tip
The selected groups can be updated at any time by editing the Teams connection and selecting a different group.

Allow Access to Meetings #

To allow the name of the meeting to be set against the call model, can create a "Application Access" policy in Azure to allow the ~.Dimensions.~ client access to it.

https://learn.microsoft.com/en-GB/graph/cloud-communication-online-meeting-application-access-policy

Permission for this needs to be set using Powershell, in additional adding to the Application Id:

Install-Module -Name PowerShellGet -Force -AllowClobber                                                
Install-Module -Name MicrosoftTeams -Force -AllowClobber

Import-Module MicrosoftTeams
Connect-MicrosoftTeams

New-CsApplicationAccessPolicy -Identity Teams-~.Dimensions.~-Policy -AppIds "dfd5c2ad-a086-4414-8564-fb9b6197455c" -Description "Allow meeting access"
Grant-CsApplicationAccessPolicy -PolicyName Teams-~.Dimensions.~-Policy -Global
Document note
This can take about 30 minutes to take affect.

To Check the Policy:

Get-CsApplicationAccessPolicy Tag:Teams-~.Dimensions.~-Policy

To add an AppId to an existing policy:

Set-CsApplicationAccessPolicy -Identity Teams-~.Dimensions.~-Policy -AppIds @{Add="dfd5c2ad-a086-4414-8564-fb9b6197455c"}
Grant-CsApplicationAccessPolicy -PolicyName Teams-~.Dimensions.~-Policy -Global

Allow Access to Transcripts #

For ~.Dimensions.~ to retrieve Teams meeting transcripts, transcript access must be enabled in your Microsoft tenant. Connect to the tenant with 'Connect-MicrosoftTeams', then run the following PowerShell command:

Set-CsTeamsMeetingConfiguration -EnableGraphTranscriptAccess $true -EnableAttributedTranscripts $true -Identity Global
Color Wand tip
Ensure the Microsoft Teams PowerShell module is up to date before running the command, e.g. 'Update-Module MicrosoftTeams -Force'.

Treat Auto Attendant answers as ringing #

When enabled, a call answered by an Auto Attendant is reported as ringing only, it is not counted as answered until a user answers the call.

Known Issues #

Trunk to Trunk Calls #

Currently, the Graph API does not provide Webhook events for calls that are forwarded our to external numbers. This means that if a PSTN Teams calls are forwarded to another PSTN number, the second call will not be modelled in ~.Dimensions.~.

Features may vary depending on your licence and communications platform. Please contact your provider for details.