Grant Cloud App Security access to SharePoint Online with a
Delegate Account to allow Cloud App Security to scan files
stored in SharePoint Online or OneDrive. uses the Delegate Account to run advanced
threat protection and data loss prevention scanning when files are updated.
Before you start
Before you begin granting access, follow these steps to make sure that
Control access from apps that don't use modern
authentication is correctly set on the Microsoft 365 admin
center:
Procedure
- Log on to the Microsoft 365 admin center with your Global Administrator account.
- Go to from the left navigation.The SharePoint admin center page appears.
- Click access control, and then click Allow under Control access from apps that don't use modern authentication.
- Click OK, and then wait for around 30 minutes.
Creating a delegate account
Cloud App Security uses a single SharePoint Online Delegate
Account for both SharePoint Online and OneDrive. If you have already manually
granted Cloud App Security access to one of the two services
with the Delegate Account, you do not need to create a Delegate Account and change
the Delegate Account password again. Go directly to Verifying the delegate account and Managing Sharepoint Online site collections or Managing OneDrive site collections based on which service you are manually granting Cloud App Security access to at the moment.
![]() |
NoteCreating a Delegate Account can fail due to an internal Microsoft 365 issue. If this
should occur, try again in a few hours or in twenty-four hours.
|
Procedure
- Log on to the Microsoft 365 admin center with your Global Administrator account.
- Go to from the left navigation, and then click Add a
user.The New user screen appears.
- Specify the following account information and then click
Add.
-
Display name and User name of the delegate account.
-
Password: Keep the default setting.
-
Roles: Keep the default setting.
-
Product licenses: Turn on Create user without product license by moving the slider to the right.
-
- Record the Delegate Account user name and password.
- Click Close.
Changing the delegate account password
Procedure
- Sign in to Microsoft 365 using the new Delegate Account credentials.
- Click the settings icon and then Password, and on the change password screen, change the temporary Delegate Account password to a permanent one.
- Click submit.The Delegate Account can now be used to log on to Microsoft 365.
Verifying the delegate account
Procedure
- Go back to the Delegate Account (Manually) tab on the Cloud App Security management console.
- Scroll down the instructions, and then specify the SharePoint Online Delegate Account credentials in the email address and password text boxes.
- Click Verify.
Managing Sharepoint Online site collections
Complete this task if you license the SharePoint Online service.
Procedure
- Log on to the Microsoft 365 admin center with your Global Administrator account.
- Go to from the left navigation.The SharePoint admin center page appears.
- From the left navigation, click site collections.
- Add site collections. Repeat this procedure to add additional site collections.
- Select one URL to protect.
- From the banner on the upper area, go to .
- In the Site Collection Administrators text box at the bottom, specify an existing Delegate Account and then click the account
check icon to verify its identity.
-
To find a Delegate Account, click the address book, select Tenant, and then click the magnifying glass to look for existing accounts.
-
To create a Delegate Account, see Creating a delegate account.
-
- Click OK.
- Go back to the Delegate Account (Manually) tab on the Cloud App Security management console, scroll down to the bottom, add the SharePoint Online site collection URLs to protect one by one in the URL text box, and then click Add.
- Click Submit.
- Hover over the notification icon in the upper-right corner of the management
console.If the message "SharePoint Online protected." appears on the Notifications screen, the access grant is successful.
Managing OneDrive site collections
Complete this task if you license the OneDrive service.
Procedure
- Log on to the Microsoft 365 admin center with your Global Administrator account.
- Go to from the left navigation.The SharePoint admin center page appears.
- From the left navigation, click user profiles.
- Add site collections.Repeat this procedure to add other site collections.
- Under People, click Manage User Profiles.
- Find user profiles by specifying a user name in the Find profiles search box.
- Right-click the profile and select Manage site collection owners .
- In the Site Collection Administrators text box at the bottom, specify an existing Delegate Account and then click the user
check icon to verify the identity.
-
To find a Delegate Account, click the address book, select Tenant, and then click the magnifying glass to look for existing accounts.
-
To create a Delegate Account, see Creating a delegate account.
-
- Click OK.The Delegate Account successfully adds to the Site Collection Administrators.
- Go back to the Delegate Account (Manually) tab on the Cloud App Security management console, scroll down to the bottom, and then click Submit.
- Hover over the notification icon in the upper-right corner of the management
console.If the message "OneDrive protected." appears on the Notifications screen, the access grant is successful.