Configuring a Microsoft Office 365 account in Microsoft Azure Active Directory
Before you can add a log source in QRadar®, you must run the Azure Active Directory PowerShell cmdlet and then configure Azure Active Directory for Microsoft Office 365.
Procedure
- Run the Azure Active Directory PowerShell cmdlet. For more information, see How to install and configure Azure PowerShell (https://azure.microsoft.com/en-us/documentation/articles/powershell-install-configure/).
-
Identify the Tenant ID of the tenant that is subscribed to Microsoft Office 365 by typing the following commands:
import-module MSOnline
$userCredential = Get-Credential
Connect-MsolService -Credential $userCredential
Get-MsolAccountSku | % {$_.AccountObjectID}
Use the Tenant ID value for the Tenant ID value when you configure a log source in QRadar.
-
To use Azure Active Directory to register an application, log in to the Azure Management Portal
(https://portal.azure.com) with the credentials of the tenant that is subscribed to Microsoft Office 365.
- From the navigation menu, select Azure Active Directory.
- From the Overview pane, select App registrations, and then click New registration.
- In the Supported account types section, select the type of account to use the application or to access the API.
- In the Redirect URI (optional) section, select Web, and type http://localhost in the Web field.
- Click Register, and then copy and store the Application (client) ID value. Use this value for the Client ID value when you configure a log source in QRadar.
-
Generate a client secret for the application.
- From the Manage pane, select Certificates & secrets > New client secret.
- Select an expiry period, and then click Add.
- Copy and store your client secret key value because it can't be retrieved later. Use this value for the Client Secret value when you configure a log source in QRadar.
-
Specify the permissions that the Microsoft Azure application must use to access Microsoft Office 365 Management APIs.
- From the Manage pane, select API permissions.
- Click Add a permission > from the API
list, choose Office 365 Management APIs > Delegated
permissions, and then select the following options:
Table 1. Delegated permissions Permission Values Activity Feed ActivityFeed.Read
ActivityFeed.ReadDlp
ServiceHealth ServiceHealth.Read - Click Application permissions, and then select the following
options:
Table 2. Application permissions Permission Values Activity Feed ActivityFeed.Read
ActivityFeed.ReadDlp
ServiceHealth ServiceHealth.Read - Click Add permssions.
- In the API permissions window, go to the Grant consent section, click Grant admin consent > Yes.