How to connect Microsoft Teams to MSPbots:

1. Sync Teams to MSPbots


The procedure for authorizing the sync should be done by someone with AAD admin permission. 

To sync MS Teams to MSPbots, connect your AAD (Teams) from the Integrations (mspbots.ai) section of the MSPbots app. Click the Sync button to connect. 

2. Authorize AD background sync permission 


Information needed and why we need it

The MSPbots app requires permission to sync user information like managers, positions, and avatar pictures, including any change in user data from AAD in the future. The sync happens in the background and updates user information regularly. This eliminates the need for manually syncing data whenever employees get on board or go offboard.


API call for obtaining user information

Here is the API call that we use to get the user information:

  1. https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http
  2. https://docs.microsoft.com/en-us/graph/api/user-get?view=graph-rest-1.0&tabs=http

This step is done by an AAD admin. If you are not an AAD admin, please add one of your AAD administrators as MSPbots admin and let them log in to finish this step.

3. Install MSPbots App in MS Teams


The MSPbots Teams App is needed for users to receive MSPbots notifications and send commands to MSPbots. There are two ways to get it installed:

4. Common Errors


5. Setup MS Teams Global Policy to push MSPbots to all users


Add MSPbots to Teams Global policy to get the app installed automatically for your current and future AAD users. 

Follow the steps here: Adding MSPbots to the Teams Global Policy