Enable SaaS API Data Loss Prevention for Microsoft 365 Tenants

Table of Contents

Prerequisites

  • Chrome or Firefox (recommended) with pop-up blockers and ad blockers disabled (only for the duration of authorization)
  • The user performing the installation must use a service account with a Microsoft 365 Global Admin and active license
  • SharePoint Online and OneDrive must be enabled
  • Audit log must be enabled for Microsoft 365. For more information, refer to Microsoft technical documentation and search for Turn auditing on or off.
  • The following IP addresses must be allowed if there are Firewall rules that prevent third-party applications:
    146.112.161.0/24
    146.112.163.0/24
    146.112.165.0/24
    146.112.167.0/24
  • Users must have the following API permissions for Microsoft:
API/ Permissions NameTypeDescriptionAdmin Consent Required
Microsoft Graph
Directory.AccessAsUser.AllDelegatedAccess directory as the signed-in userYes
Directory.Read.AllApplicationRead directory dataYes
Files.Read.AllDelegatedRead all files that user can accessNo
Files.Read.AllApplicationRead files in all site collectionsYes
Sites.Read.AllDelegatedRead items in all site collectionsNo
User.ReadDelegatedSign in and read user profileNo
User.Read.AllApplicationRead all users' full profilesYes
Microsoft 365 Management APIs
ActivityFeed.ReadApplicationRead activity data for the OrganizationYes
SharePoint
Site.FullControl.AllApplicationFull control of all site collectionsYes
User.Read.AllApplicationRead user profilesYes

Authorize a Tenant

  1. Navigate to Admin > Authentication.
  2. Under Platforms, click Microsoft 365.
1700
  1. Click Authorize New Tenant in the DLP subsection to add a Microsoft 365 tenant to your Secure Access environment.
  2. In the Microsoft 365 Authorization dialog, check the checkboxes to verify you meet the prerequisites, then click Next.
1182
  1. Provide a name for your tenant, then click Next.
1414
  1. Click Next to be redirected to the Microsoft 365 login page.
  2. Log in to Microsoft 365 with admin credentials to grant access.
562

You are redirected to Secure Access and a message appears showing the integration was successful.

  1. Click Done to complete.

Revoke Authorization

  1. Under Action, click Revoke. You can revoke any authorized tenant.
1728
  1. Confirm to proceed. The selected account is not authorized.
1324

Enable SaaS API Data Loss Prevention for Google Drive Tenants< Enable SaaS API Data Loss Prevention for Microsoft 365 Tenants > Enable SaaS API Data Loss Prevention for ServiceNow Tenants