Configuring import of e-mails and files from 365¶
Warning
The required version is Office 365 PRO
In the section “App registrations” get a new application registered “name = staffcop”, other fields are filled in with the default values.
Add the following permissions to the section “API permissions”:

Permissions are added from this section:

After adding permissions it’s required to add “Grant admin consent for …”
Note
This option is available only from the AD administrator account.
After this it’s required to create a new application access key (secret)

Then configure the policy in StaffCop. “Filters -> Policies -> System policies -> Office 365”.

Tenant and Aplication ID are taken from here:

After enabling this policy, StaffCop Server begins importing all the e-mails and files created in the cloud version of Office 365