Teams

Microsoft Teams Connection #

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

Support for Microsoft Teams is currently available in Preview. If you are interested in trialling this feature, please contact you ~.Dimensions.~ sales representative.

Manual Teams Configuration #

Below is a guide on configuring Azure to support the ~.Dimensions.~ Microsoft Teams integration. Please follow the steps below to generate a client Id/Secret that can be used by ~.Dimensions.~ to model the data.

Create an Enterprise Application to get ClientID and Secret #

image.png

image.png

image.png

image.png

image.png

image.png

image.png

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-us/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 "<clientId>" -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="<clientId>"}
Grant-CsApplicationAccessPolicy -PolicyName Teams-~.Dimensions.~-Policy -Global

Configure Payment #

Requests to the Microsoft Graph API to retrieve audio/video for Meetings is a metered API, costs for these requests can be seen here:

https://learn.microsoft.com/en-us/graph/api/callrecording-get?view=graph-rest-1.0&tabs=http

If call/meeting playback is required, the customer must set up a billing subscription against their appID for billing. This is configured by running the below from the Azure CLI:

az resource create --resource-group <RESOURCE_GROUP>--name <RESOURCE_NAME> --resource-type Microsoft.GraphServices/accounts --properties  "{\"appId\": \"<APP_REGISTRATION_ID\"}" --location Global --subscription <SUBSCRIPTION_ID>

To check this resource run

az resource list --resource-type Microsoft.GraphServices/accounts