Authentication with Microsoft integrations

Christina Dechent
Christina Dechent
  • Updated

babelforce provides you with the means for solving two main use cases: 

  1. sending automated messages to a teams channel
  2. changing the presence of an agent in microsoft teams

To implement these use cases, we offer two different microsoft integrations: "Microsoft teams" and "Microsoft teams messages"

This article will guide you through the steps to set up these integrations: 

1. The part on Microsoft side

To setup the integration, you need the tennant Id of your teams account, as well as client Id and client secret of a registered application. 

Register your application: 

  • First, log into your microsoft azure admin account
  • Under azure services, search for "app registrations"
    • click on "new registration"
  • Go to the tab "Authentication" and allow public client flows: 

  • Go to "API permissions",
    • For sending messages to a teams channel, you need the following permissions: 
      • ChannelMessage.Send - delegated
      • Group.ReadWrite.All - application
      • Teamwork.Migrate.All - application
      • User.Read - delegated
      • User.Read.All -application
    • For changing the agent presence, you need these permissions: 
      • Presence.ReadWrite.All - application
      • User.ReadWrite.All - application
  • Go to "Owners" and add all users that are allowed to set up the integration. Be aware that you need to log into your babelforce manager account later with the same email address that is registered in Microsoft Azure
  • Go to "Certificates & secrets" 
    • Click on "New client secret"

    • save the (client) secret, you need it for the babelforce setup
  • Find your client ID and the tennant Id in the "Overview" section

2. The part on babelforce side

First of all, we need to set up the integration itself. To do this, go to Integrated processes > Integrations, click on "Add".

  • Choose the "Microsoft teams messages" if you want to send channel messages
  • Choose the "Microsoft teams" integration if you want to manipulate the user presence.

The information that needs to be entered is the same for both integrations:

1. Enter the following info in the respective fields: 

  • API URL:
  • base URL:
  • tennant Id saved in the previous step
  • Scope: 
  • Client Id & Client secret saved in the previous step

 2. Follow these steps: 

  • click on "save"
  • open the integration again, then click on "Authorize"
  • In the list view for the integrations, click on "Test" to check if your integration has been set up correctly. 

To set up the automations, head over to these articles: 

  1. Send automated messages to MS teams
  2. Change the presence status of teams user via babelforce

Was this article helpful?




Please sign in to leave a comment.