Cloud Email and Collaboration
Protection supports using OAuth 2.0 to access SharePoint Online with a service account (Authorized
Account). With the OAuth 2.0 framework, Cloud Email and Collaboration
Protection uses an access token to obtain limited access on the Global Administrator's behalf
to run advanced threat protection and data loss prevention scanning on files in the
protected SharePoint sites of your organization.
If you have also granted Cloud Email and Collaboration
Protection access to Microsoft Teams (Teams), when the SharePoint site and the team corresponding
to a file are selected as a policy target respectively, Cloud Email and Collaboration
Protection applies policies for Microsoft Teams (Teams) to this site unless the site does not
hit any policy for Microsoft Teams.
The steps outlined below detail how to grant access to SharePoint Online with an Authorized
Account from Dashboard.
Procedure
- Go to .
- Click Grant Access in the Action
column for SharePoint Online.The Grant Access to SharePoint Online screen appears.
- Select the policy to enable automatically when the access grant is complete.
- Click Grant Permission.
- Specify your Microsoft 365 Global Administrator credentials and click Sign in.The Microsoft authorization screen appears.
- Click Accept to grant Cloud Email and Collaboration Protection necessary permissions to protect SharePoint sites.
- Wait until the process is completed.If the message "Successfully created a service account and synced data." appears on the screen, the access grant is successful.
What to do next
If for some reason the access token becomes invalid, go to Service account.
to create a new access token for the service account. For more
information, see