Security Compliance
Register Azure Application for integrating Office 365 Management API with SEM
This article describes how to set up Azure so that the Microsoft Office 365 Management API can be integrated with SEM.
First published date
Last published date
Overview
Product section
Cause
Resolution
To retrieve events, Office 365 auditing must be enabled. You should check that auditing has been enabled and that you can see event data at https://protection.office.com, under Audit log search. For more information, see Search the audit log in the compliance center (© Microsoft 2021, retrieved 5/19/21). If not enabled, the procedures for enabling auditing can be found at Turn audit log search on or off (© Microsoft 2021, retrieved 5/19/21).
The following permissions are required:
- ActivityFeed.Read
- ActivityFeed.ReadDlp (Optional - this permission enables the DLP (Data leak protection) data to be read.)
- Go to the Azure Portal Website (https://ms.portal.azure.com) and log in with admin credentials.
- Click Azure AD Connect.
- Click App registrations.
- Click New registration.
- Assign a name to the registration and click register.
- Click Overview.
- Make a note of the Application ID (client ID) and Directory ID (tenant ID). These will be used when configuring the Microsoft365 Audit Log in SEM (see below ).
- Click Certificates & secrets.
- Click New client secret.
- Enter a Description, and select the longest expiry period for the client secret.
Note: Once the client secret expires, SEM will not be able to get data from O365 Management API. You should therefore carefully monitor this so you can create a new client secret and reconfigure the connector in SEM before the old secret expires to avoid an outage.
- Make a note of, or save to a file, the client secret. The Client secret will be used as the password to access Azure/O365 resources when configuring the Microsoft365 Audit Log in SEM (see below ).
- Click API permissions.
- Click Add a permission.
- Click Office 365 Management APIs.
- Click Application permissions.
- Click expand all, and enable the following:
- Enable ActivityFeed.Read.
- Enable ActivityFeed.ReadDlp (Optional - this permission enables the DLP (Data leak protection) data to be read.)
- Click Grant admin consent for...
- Confirm the dialog box.
Once approval has been granted, the Tenant ID, Client ID, and Client secret can thenbe used to configure Azure resources in SEM as shown below.
All screenshots © 2021 Microsoft.