Configuring Microsoft Teams Integration
Overview
The following image describes the status change from Sinch Contact Pro to MS Teams.
The following image describes the status change from MS Teams to Sinch Contact Pro.
To integrate Microsoft Teams with Sinch Contact Pro, do the following:
- Configure Presence Synchronization Interface (PSI)
variables in Infrastructure Administrator.
For more information, see the integration interfaces variables in the Installation Guide or Infrastructure Administrator.
- Configure Azure settings.
- Configure in System Configurator (SC):
- Microsoft Teams messaging service
- Presence synchronization settings
- User group and user settings to bind users as MS Teams users
Azure Configuration
Disable Security Default
-
Open the Azure portal https://portal.azure.com/ and the page where all services are listed.
-
Find and open the Tenant properties.
-
If you use the integration to update user presence from Teams to Sinch Contact Pro and from Sinch Contact Pro to Teams, click on the Manage security defaults and disable them.
The reason to disable them is that the technical user connecting to Teams from Sinch Contact Pro is currently unable to handle MFA. To strengthen and keep the same level of security, enable Conditional Access.
If you only use the user presence update from MS Teams to Sinch Contact Pro, you can skip this step. However, in System Configurator you need to create a dummy technical user.
Register an Application
-
Go to New registration.
and click -
Name the new application and select the options as in the screenshot below and click Register.
-
Allow public client flow and save.
-
Give API permissions to the application and grant admin consent for Sinch.
-
Open the newly created application, create a new client secret, and copy and paste the value of the secret, for example, into the Notepad. Copy and paste the following values into the Notepad:
-
Application (client) ID
-
Directory (tenant) ID
-
Client secret value, the one created above.
-
Create a Technical User
-
Create a technical user to connect to the application with delegated permissions to fetch presences of other users.
For Sinch Contact Pro to connect to Teams, the MFA authentication needs to be disabled for this technical user.
-
Log in to Teams using this newly created technical user, activate the account and change the initial password.
SC Configuration
Configure MS Teams Messaging Service
-
Go to
. -
Click Add New and choose Microsoft Teams.
-
In the Basics block, enter the following:
-
Name: a descriptive name
-
Service Connection: the directory (tenant) ID from the Azure Active Directory admin center
-
Authentication URL: Presence Synchronization Interface (PSI) URL
-
-
In the Authentications block, enter:
-
the Azure Application (client) ID as an authentication ID and its secret as the password field
-
the technical user name as an authentication ID and its password in the password field if you created a technical user in Azure. If you didn't create one, enter a dummy technical user and a password. The user name has to an email, for example admin@test.onmicrosoft.com
-
-
Save the messaging service.
Configure Presence Management
-
Go to
. -
Select which system's user presence you want to update: from Teams to Sinch Contact Pro or vice versa.
To synchronize between the systems, select both.
-
Save the presence settings.
Define MS Teams Users
-
Go to
and choose the user group that uses Teams. -
In the Basics block, add Microsoft Teams as Presence Synchronization Token and save.
-
Go to Presence Synchronization ID field.
and add a presence ID to theThis is the Teams ID which is the Microsoft user's UserPrincipalName, usually same as the email.
-
Save the user settings.