Begin Scanning a Microsoft Teams App
Focus
Focus
SaaS Security

Begin Scanning a Microsoft Teams App

Table of Contents

Begin Scanning a Microsoft Teams App

Add the Microsoft Teams app so that Data Security can protect its assets from data exfiltration and malware propagation.
Where Can I Use This?What Do I Need?
  • Strata Cloud Manager
  • Data Security license
Or any of the following licenses that include the Data Security license:
  • CASB-X
  • CASB-PA
Support for automated remediation capabilities varies by SaaS application.

Supported Content

The following table lists the supported content for the Microsoft Teams app.
Support For
Details
Scan Content
  • Channel messages and direct chats.
  • Data Security supports attachments and files through SharePoint in Office 365.
Backward Scan
No
Forward Scan
Yes
Rescan
No
Selective Scan
N/A
Exposure
Internal, External, Company
Data Security supports attachments through Office 365.
The Microsoft Teams connector supports the E3, E5, and E7 licenses. If you onboard with an E3 license, you must have the Microsoft Purview Compliance license added as a top up to take Quarantine Remediation Actions.
Remediation Actions
  • User Quarantine—Yes
  • Admin Quarantine—No
  • Change Sharing—N/A
Data Security supports quarantine for attachments through Office 365.
Remediation actions are not available if you onboard using Read-Only permissions.
Post-Remediation Actions (Actions after Admin Quarantine):
You can delete, restore, or download a quarantined file after performing a remediation action (such as quarantine or incident generation).
  • Delete—No
  • Restore—No
  • Download—No
Data Security supports quarantine for attachments through Office 365.
Post-remediation actions are not available if you onboard using Read-Only permissions.
Notifications
  • Notify File Owner—Yes
  • Notify Via Slack—Yes (applicable only if you have onboarded Slack Enterprise or Slack Pro and Business)
User Activities
  • Activity Monitoring—Yes
  • Activity Alerting—No
  • Folder Monitoring—N/A
Snippet Support
Yes
Known License and Version Restrictions
Supported Versions
  • Microsoft 365 Business Standard
Caveats and Notes
None

Onboard Microsoft Teams App

  1. Prerequisites
    1. Plan to add the Office 365 app before you add the Microsoft Teams app, if you haven’t already. Data Security depends on the Office 365 app to scan Microsoft Teams attachments, so you must meet the onboarding requirements for the Office 365 app.
    2. Ensure that you have an Office 365 account with Global Administrator role permissions.
    3. Ensure that you have one of the following Microsoft licenses:
      • E3
        If you onboard with an E3 license, you must add a top-up license to get the Microsoft Purview Compliance features.
      • E5
      • E7
    4. Grant Data Security access to Microsoft Teams.
    5. Establish communication between Data Security and Microsoft Teams. Go to http://portal.microsoftonline.com and log out of Office 365 to ensure that you are not logged in as a user other than an account with Global Administrator role permissions.
    6. Log in to Office 365 with an account that has Global Administrator role permissions:
  2. Add your Microsoft Teams app.
    1. Log in to Strata Cloud Manager.
    2. Select ConfigurationSaaS SecurityData SecurityApplicationsAdd ApplicationMicrosoft Teams.
    3. Confirm that you have a valid license, and then click Start Onboarding.
    4. Confirm that you have a valid Microsoft Teams license, and then click Start Onboarding.
    5. On the Step 1 Permissions page, review the onboarding types and their capabilities, and then click Next Authentication.
    6. On the Step 2 Authentication page, select the type of permissions you want to use during onboarding, and then click Connect.
      If you choose Read_Write Permissions, you can perform the following actions:
      • Data Discovery
      • User Activity
      • Remediation
      If you choose Read Permissions, you can perform only the following two actions:
      • Data Discovery
      • User Activity
    7. Enter the login credentials for the account with Global Administrator role permissions on the Microsoft online page to which Data Security redirects you.
    8. Review the requested permissions, and then click Accept.
      The requested permissions differ for onboarding with Read_Write Permissions and Read Permissions. Data Security requires these permissions to scan your assets in Office 365.
    9. On successful authentication, click Next Configuration.
    10. On the Step 3 Configuration page, enter a name for your Microsoft Teams instance, save it, and then click Next Summary.
    11. On the Step 4 Summary page, review your details. Then save your instance or click Start Scanning.

Troubleshooting Onboarding for Microsoft Teams App

Data Security performs validation checks between onboarding and scanning to ensure that your app onboarded correctly, without authentication or permission issues. You can start scanning only after validation succeeds. For Microsoft Teams, Data Security performs the following two validations:
  • App Authentication
  • Validating Permissions
After validation succeeds, Data Security displays the sample user activities.
If the App Authentication or Validating Permissions checks fail, try the following:
  1. Ensure that you have administrator permissions.
  2. Check whether a Palo Alto Networks application appears in the list of Enterprise Applications. The app names for each region are:
    • Prisma SaaS by Palo Alto Networks AP1 for MSTeams
    • Prisma SaaS by Palo Alto Networks EU1 for MSTeams
    • Prisma SaaS by Palo Alto Networks IN for MSTeams
    • Prisma SaaS by Palo Alto Networks NAM for MSTeams
    • Prisma SaaS by Palo Alto Networks UK1 for MSTeams
    • Palo Alto Networks NG-CASB - AUS - Teams
  3. If a Palo Alto Networks application isn’t listed, check whether the Audit Logs display Activity as Consent to application, Target as <app from the preceding list>, and Status as Success.
The following table describes the errors that you might see during validation.
Error Codes
Description
Errors in App Authentication
invalid_request
Request is invalid.
invalid_grant
Internal error encountered.
unauthorized_client
The installed app in the Marketplace was uninstalled manually from your cloud app.
invalid_client
Issue with the Marketplace instance.
temporarily_unavailable
Microsoft Teams app issue on the server side. Reinstall the app.
Errors in fetching sample assets and activities
accessDenied
Access is denied for ${user}.
activityLimitReached
The app reached its API limit. Try again later.
invalidRange
There is nothing to retrieve for this entity.
invalidRequest
Request is invalid.
itemNotFound
No data associated with this entity.
notAllowed
Authentication failure while retrieving the entity.
notSupported
Retrieving the entity with the required information is no longer supported.
serviceNotAvailable
Microsoft Teams server is not responding.
quotaLimitReached
The app has exhausted its request quota for now.
unauthenticated
Microsoft Teams app issue on the server side.
If the issue persists, contact SaaS Security Technical Support.

Start Scanning and Monitor Results

When you add a new cloud app and then enable scanning, Data Security automatically scans the cloud app against the default data patterns and displays the match occurrences. You can take action now to improve your scan results and identify risks.
  1. To start scanning the new Microsoft Teams app for risks, select ConfigurationSaaS SecurityData SecurityApplicationsMicrosoft TeamsView Settings...Start Scanning.
  2. Monitor the scan results.
    During the discovery phase, as Data Security scans files and matches them against enabled policy rules:
    • Verify that Data Security displays assets.
    • Verify that your default policy rules are effective. If the results don’t capture all risks or you see false positives, proceed to the next step to improve your results.
  3. (Optional) Modify match criteria for existing policy rules.
  4. (Optional) Add new policy rules.
    Consider the business use of your cloud app, and then identify risks unique to your enterprise. Add new:
  5. (Optional) Configure or edit a data pattern.
    You can configure data patterns to find all instances of text that match the strings, characters, words, or patterns that you specify.