Microsoft 365, formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line

To connect Unified Security Stack with Office365:

1. Open the Azure

Azure’s PortalSelect Microsoft Entra ID.

Office365

2. Go to App registrations

Office365

3. Add a new app

Clicking the "New registration" button and fill-up the form, with the name "Unified Security Stack O365 Agent", and select the option "Accounts in this organizational directory only to (Single-tenant)" and click on register.

Office365

4.In the newly created App registration

Navigate to Certificates & Secrets, then click New client secret to create one. Enter a description. Set the expiration to 730 days (24 months), click Add, and copy the value to a secure location.

Office365

5. In the same App registration menu, locate API Permissions and click Add Permissions, then find Office 365 Management API.

Office365
Office365

7. Within the same Request API Permissions, click Microsoft Graph.

Office365
Office365
Office365

10. Go to https://compliance.microsoft.com and sign in.

11. From the left navigation pane in the compliance portal, select Audit.

If auditing is not enabled for your organization, a banner appears asking you to start recording user and admin activity.

Office365

12. Click the Start recording user and admin activity banner. The change may take up to 60 minutes to take effect.

13. Go back to Azure Active Directory and open Registered Apps (step number 3). Note the information in the Overview section (client ID, tenant ID) and the secret.

Office365

14. Enter the information in the fields below. You can add more than one o365 configuration by clicking the Add tenant button.

Office365