Views:
Cloud App Security supports using OAuth 2.0 to access OneDrive with a service account (Authorized Account). With the OAuth 2.0 framework, Cloud App Security 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 OneDrive sites of your organization.
The steps outlined below detail how to grant access to OneDrive with an Authorized Account from Dashboard.

Procedure

  1. Go to DashboardService Status.
  2. Click Grant Access in the Action column for OneDrive.
    The Grant Access to OneDrive screen appears.
  3. Select the policy to enable automatically when the access grant is complete.
  4. Click Grant Permission.
  5. Specify your Microsoft 365 Global Administrator credentials and click Sign in.
    The Microsoft authorization screen appears.
  6. Click Accept to grant Cloud App Security necessary permissions to protect OneDrive sites.
  7. 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 AdministrationService Account to create a new access token for the service account. For more information, see Service account.