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

Learn how to add the Microsoft Teams app so that Data Security can protect the assets on them 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, Direct Chats
  • Attachments/Files are supported via Sharepoint Office 365.
Backward Scan
No
Forward Scan
Yes
Rescan
No
Selective Scan
N/A
Exposure
Internal, External, Company
Attachments are supported using Office 365.
Due to new Microsoft licensing requirements, the Microsoft Teams connector will work only for customers running the E5 licenses.
Remediation Actions
  • User Quarantine—Yes
  • Admin Quarantine—No
  • Change Sharing—N/A
Quarantine for Attachments is supported using Office 365.
Post-Remediation Actions (Actions after Admin Quarantine):
You can delete, restore, or download a quarantined file after performing a remediation action (for example quarantine or incident generation).
  • Delete—No
  • Restore—No
  • Download—No
Quarantine for Attachments is supported using Office 365.
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 done so. Data Security depends on the Office 365 app to scan Microsoft Teams attachments. In doing 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. Due to new Microsoft licensing requirements, ensure you are running the E5 licenses. The Microsoft Teams connector will work only for the E5 licenses.
    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're not logged in as a user other than an account with Global Admin role permissions.
    6. Log in to Office 365 using an account that has the Global Admin role permissions:
  2. Add Microsoft Teams app to Data Security:
    1. Log in to Strata Cloud Manager.
    2. Select ConfigurationSaaS SecurityData SecurityApplicationsAdd Application.
    3. Select Microsoft Teams, confirm that you have the prerequisites and Start Onboarding.
    4. Connect Microsoft Teams to Data Security: In the Permissions step, validate all the required access and approvals (Data Discovery, User Activity, and Remediation) to onboard your app securely and click Next Authentication.
    5. In the Authentication step, click Connect to log in and authorize onboarding.
    6. Enter the login credentials for the account with Global Admin role privileges on the Microsoft online page to which Data Security redirects you.
    7. Review and Accept the permissions requested.
      Data Security requires these permissions to scan your assets on Microsoft Teams.
    8. On successful authentication, click Next Configuration.
    9. In the Configuration step, specify a name for your Microsoft Teams instance, save it, and click Next Summary.
    10. In the Summary step, review your details. You can either save your instance or Start Scanning.

Troubleshooting Onboarding for Microsoft Teams App

To ensure that your app has onboarded correctly without any issues in authentication or permissions, Data Security performs validation checks between the onboarding and scanning process. You can start scanning only after a successful validation. For Microsoft Teams, the following two validations happen:
  • App Authentication
  • Validating Permissions
After the validation is successful, Data Security displays the sample user activities.
If the App Authentication or Validating Permissions checks fail, try the following:
  1. Ensure you have administrator permissions.
  2. Check if Palo Alto Networks application is listed in the list of Enterprise Applications. Following are the app names for specific regions:
    • 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 if the Audit Logs Activity displays as Consent to application, Target as <app from the list given above>, and Status as Success.
See the following table to understand the errors you are facing 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 related to Marketplace instance.
temporarily_unavailable
Microsoft Teams app issue on the server side. Please reinstall.
Errors in fetching sample assets and activities
accessDenied
Access is denied for ${user}.
activityLimitReached
App's API limit reached. Try after sometime.
invalidRange
You don't have any thing to get for this entity.
invalidRequest
Request is invalid.
itemNotFound
No data associated with this entity.
notAllowed
Authentication failure while retrieving the entity.
notSupported
Getting entity with required information is no longer supported.
serviceNotAvailable
Microsoft Teams server is not responding.
quotaLimitReached
Quota for app request has been exhausted for now.
unauthenticated
Microsoft Teams app issue from server side.
If the issue persists, contact SaaS Security Technical Support.

Start Scanning and Monitor Results

When you add a new cloud app, 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 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, then identify risks unique to your enterprise. As necessary, add new:
  5. (Optional) Configure or edit a data pattern.
    You can Configure Data Patterns to identify specific strings of text, characters, words, or patterns to make it possible to find all instances of text that match a data pattern you specify.