N O T I C E


MSPbots WIKI is moving to a new home at support.mspbots.ai to give you the best experience in browsing our Knowledge Base resources and addressing your concerns. Click here for more info!


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

How to connect Microsoft Teams to MSPbots:

Link your AAD (Teams) via Integrations (mspbots.ai).

Authorize AD background sync permission

Information needed and why we need it

The MSPbots app requires permission to sync user information like managers, position, 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.

  • User name and email address - Used to identify users and map their email addresses with the PSA user accounts.
  • Managers' info - Used by the bots to alert the managers every time users are not in compliance with the company's policies or procedures.
  • Job title - Used to automate the dashboards related to job titles and to trigger bots that apply to specific job titles.
  • Avatar picture - Makes it easier to identify users on the list and adds to a better user interface.

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.

Install MSPbots App in 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:

Error message: "The app may not exist, or your organization may have disallowed you from using it"

https://docs.microsoft.com/en-us/microsoftteams/teams-app-permission-policies

Setup 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


  • No labels