Prepare to run discovery on Exchange Online 365
Steps
- Create or identify an Exchange 365 account for Exchange discovery scanning.
- Grant the account one of the following roles to allow the Forcepoint DLP crawler to discover messages and display results:
- Organization Management
- View Only Organization Management
The crawler account should now be able to access Exchange via Outlook Web App (OWA) and move between the mailboxes intended to be scanned during the discovery.
Log onto OWA with this account, and try switching between mailboxes as shown below:
-
Configure Exchange impersonation for the service account used for discovery:
- Open the Windows PowerShell as administrator.
-
Enter the following command:
$LiveCred = Get-Credential
- When prompted for credentials, enter the user name (email address) and password for the Exchange 365 account to be used for discovery.
-
Enter the following command:
$Session = New-PSSession -ConfigurationName
Microsoft.Exchange -ConnectionUri https://
ps.outlook.com/powershell/ -Credential $LiveCred -
Authentication Basic –AllowRedirection
Read and ignore any warnings that result.
-
Enter the following commands:
Import-PSSession $Session
Set-ExecutionPolicy RemoteSigned
- When prompted to change the execution policy, respond Yes.
-
Enter the following command:
Enable-OrganizationCustomization
-
Enter the following command:
New-ManagementRoleAssignment –Name "Impersonation-
Forcepoint" –Role "ApplicationImpersonation" –User
user@mydomain.onmicrosoft.com
Here, “Impersonation-Forcepoint” is the name of the administrator role being created for the Exchange 365 account and “user@mydomain” is the user name that will be used for the discovery task.
-
To configure an Exchange discovery task:
- Log on to the Data Security module of the Forcepoint Security Manager.
- Go to the Main > Policy Management > Discovery Policies page, then click Add network task > Exchange Task.
- Complete the wizard as explained in the Forcepoint DLP Administrator Help. On the Exchange Servers page, enter the credentials set up above.
-
Make sure that Integrated Windows authentication is turned on (default). If it is not:
- In the Exchange admin center, go to servers > virtual directories > EWS (Default Web Site).
- Select Integrated Windows authentication.
- Click Save.