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”:
![../_images/office_365_1.png](../_images/office_365_1.png)
Permissions are added from this section:
![../_images/office_365_2.png](../_images/office_365_2.png)
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)
![../_images/office_365_3.png](../_images/office_365_3.png)
Then configure the policy in StaffCop. “Filters -> Policies -> System policies -> Office 365”.
![../_images/office_365_4.png](../_images/office_365_4.png)
Tenant and Aplication ID are taken from here:
![../_images/office_365_5.png](../_images/office_365_5.png)
After enabling this policy, StaffCop Server begins importing all the e-mails and files created in the cloud version of Office 365