: Onboard a Microsoft Teams App for Scans That Use the Microsoft Graph API
Focus
Focus

Onboard a Microsoft Teams App for Scans That Use the Microsoft Graph API

Table of Contents

Onboard a Microsoft Teams App for Scans That Use the Microsoft Graph API

Connect a Microsoft Teams instance to SSPM to detect posture risks.
High-level configuration scanning across Office 365 products is available by onboarding the Office 365 app. Adding the Microsoft Teams app individually gives you greater visibility into Microsoft Teams settings.
For SSPM to detect posture risks in your Microsoft Teams instance with more detail than the Office 365 app scan, you must onboard your Microsoft Teams instance to SSPM. Through the onboarding process, SSPM connects to a Microsoft API and, through the API, scans your Microsoft Teams instance for misconfigured settings. If there are misconfigured settings, SSPM suggests a remediation action based on best practices.
There are two ways in which SSPM can scan your Microsoft Teams instance. The following instructions describe how to enable SSPM to use the Microsoft Graph API to perform its configuration scans. You can follow alternative instructions that enable SSPM to use data extraction techniques to perform its configuration scans. To onboard your Microsoft Teams instance, you complete the following actions:

Collect Information for Connecting to Your Microsoft Teams Instance

To access your Microsoft Teams instance, SSPM requires the following information, which you will specify during the onboarding process.
Item
Description
Username
The login email address for a Microsoft account. The account must not require multi-factor authentication (MFA).
Required Permissions
: The user must be assigned to one of the following roles.
  • Global Reader
  • Teams Administrator
  • Global Administrator
Password
The password for the Microsoft account.
Client ID
SSPM will access a Microsoft API through an Azure AD application that you create. During the onboarding process, SSPM prompts you for a Client ID that uniquely identifies the application.
As you complete the following steps, make note of the values of the items described in the preceding table. You will need to enter these values during onboarding to access your Microsoft Teams instance from SSPM.
  1. Identify the Microsoft account that SSPM will use to access your Microsoft Teams instance.
    Account requirements:
    • The account must have Global Reader, Teams Administrator, or Global Administrator permissions.
    • The account must not require MFA.
    After SSPM establishes the connection, it will perform an initial scan of your Microsoft Teams instance, and will then run scans at regular intervals of approximately 30 minutes. For SSPM to run these scans, the administrator account that you use to establish the initial connection must remain available. For this reason, we recommend that you use a dedicated service account to grant SSPM access. If you delete the service account, the scans will fail and you will need to onboard Microsoft Teams again.
  2. During onboarding, SSPM will access a Microsoft API through an Azure AD client application that you create. Follow the instructions to register a an Azure AD client application, and note the Client ID that Azure AD generates for the client app.
    If you have already onboarded another Microsoft application that requires an Azure AD client application, you can use that same Azure AD client app to onboard Microsoft Teams. If necessary, ask the administrator who registered the Azure AD client app for its Client ID.
    Do not continue to the next step unless you have obtained the Client ID. You will provide this information to SSPM during the onboarding process.

Connect SSPM to Your Microsoft Teams Instance

By adding a Microsoft Teams app in SSPM, you enable SSPM to connect to your Microsoft Teams instance.
  1. From the Add Application page (
    Posture Security
    Applications
    Add Application
    ), click the Microsoft Teams Powershell tile.
  2. Under posture security instances,
    Add Instance
    or, if there is already an instance configured,
    Add New
    instance.
  3. Log in with Credentials
    .
  4. When prompted, provide SSPM with the Microsoft user credentials and the Client ID of the Azure AD application.
  5. Connect
    .

Recommended For You