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:

  1. Create a service request to Sinch.
  2. Configure Azure settings.
  3. 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

  1. Open the Azure portal https://portal.azure.com/ and the page where all services are listed.

  2. Find and open the Tenant properties.

  3. 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

  1. Go to Azure Active Directory > App registrations and click New registration.

  2. Name the new application and select the options as in the screenshot below and click Register.

  3. Allow public client flow and save.

  4. Give API permissions to the application and grant admin consent for Sinch.

  5. 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

Note: The technical user is not needed if you only update user presence from Sinch Contact Pro to Teams (the SC setting Update User Presence to Teams).
  1. 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.

  2. 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

  1. Go to System Management > Messaging Services.

  2. Click Add New and choose Microsoft Teams.

  3. In the Basics block, enter the following:

    1. Name: a descriptive name

    2. Service Connection: the directory (tenant) ID from the Azure Active Directory admin center

    3. Authentication URL: Presence Synchronization Interface (PSI) URL

      Choose the URL according to your tenanat location:
      • Europe: https://cc-notification-eu-c1.cc.sinch.com/PSI/<tenantid>/api/notification
      • North America: https://cc-notification-na-w2.cc.sinch.com/PSI/<tenantid>/api/notification
      • Australia: https://cc-notification-au-s2.cc.sinch.com/PSI/<tenantid>/api/notification
      • Africa: https://cc-notification-af-s1.cc.sinch.com/PSI/<tenantid>/api/notification
  4. In the Authentications block, enter:

    1. the Azure Application (client) ID as an authentication ID and its secret as the password field

    2. 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

  5. Save the messaging service.

Configure presence management

  1. Go to Presence Management > Settings > Microsoft Teams Integration.

  2. 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.

  3. Save the presence settings.

Define MS Teams users

  1. Go to User and Role Management > User Groups and choose the user group that uses Teams.

  2. In the Basics block, add Microsoft Teams as Presence Synchronization Token and save.

  3. Go to User and Role Management > Users > Authentication and add a presence ID to the Presence Synchronization ID field.

    This is the Teams ID which is the Microsoft user's UserPrincipalName, usually same as the email.

  4. Save the user settings.