Configuring a cloud source in Scope is a two-step process.
Generating Microsoft client credentials in the Microsoft Azure Portal. Please refer to Section 1 – Microsoft Setup
Setting up the Microsoft cloud source in the Scope application. Please refer to Section 2 – Scope Setup
The following 2 APIs have additional license requirements:
Note: If the required licenses are not available, Scope will not be able to ingest the AAD logs from the specified APIs.
To get started, you’ll need to generate the following client credentials in the Microsoft Azure Portal –
Log into the Microsoft Azure Portal and click on Microsoft Entra ID from the side menu.

Create an App by clicking on App registrations -> New registration.

Provide a name (user defined) and type of access for the App, then click Register.

Now, the App has been created in the Microsoft Azure account.
Navigate to the Permissions tab (Azure portal -> Microsoft Entra ID -> Manage -> App registrations -> All applications -> Select the required app -> Manage -> API Permissions).
Note: Grant permissions only to the specific Microsoft cloud sources required for ingesting the needed logs.
| Microsoft Defender Unified - Categories | Permissions required to ingest events | Configuration steps |
|---|---|---|
| MS Defender of Endpoint | Alert.Read.All |
Configuration Step A |
| MS Defender for Cloud Apps | investigation.read |
Configuration Step B |
| MS Defender for Identity | IdentityRiskEvent.Read.All |
Configuration Step C |
| Microsoft 365 Defender | SecurityIncident.Read.All |
Configuration Step D |
| Azure AD Identity Protection | IdentityRiskEvent.Read.AllIdentityRiskyServicePrincipal.Read.AllIdentityRiskyUser.Read.AllAuditLog.Read.All |
Configuration Step E |
| Microsoft Defender for Office 365 App Governance Microsoft Data Loss Prevention |
SecurityAlert.Read.All |
Configuration Step F |
Click Add Permissions -> APIs my organization uses tab -> WindowsDefenderATP -> Application Permissions
Select the Alert.Read.All permission.

Click Add Permissions -> APIs my organization uses tab -> Microsoft Cloud App Security -> Application Permissions
Select the investigation.read permission.

Click Add Permissions -> Microsoft APIs tab -> Microsoft Graph -> Application Permissions
Select the IdentityRiskEvent.Read.All permission.

Click Add Permissions -> Microsoft APIs tab -> Microsoft Graph -> Application Permissions
Select the SecurityIncident.Read.All permission.

Click Add Permissions -> Microsoft APIs tab -> Microsoft Graph -> Application Permissions
Select the following permissions:
IdentityRiskEvent.Read.AllIdentityRiskyServicePrincipal.Read.AllIdentityRiskyUser.Read.AllAuditLog.Read.All

Click Add Permissions -> Microsoft APIs tab -> Microsoft Graph -> Application Permissions
Select the SecurityAlert.Read.All permission.

Click Grant admin consent for <Organization name> to provide admin approval for all selected API permissions.

| O365 — Categories | Permissions required to ingest events | Configuration steps |
|---|---|---|
| Audit.Exchange Audit.General Audit.SharePoint DLP.All |
ActivityFeed.ReadActivityFeed.ReadDlpServiceHealth.ReadActivityFeed.ReadDlp |
Configuration Step A |
Click Add Permissions -> Microsoft APIs tab -> Office 365 Management APIs -> Application Permissions
Select ActivityFeed.Read, ActivityFeed.ReadDlp, and ServiceHealth.Read permissions.

Click Grant admin consent for <Organization name> to provide admin approval for all selected API permissions.

| Microsoft Entra ID - Categories | Permissions required to ingest events | Configuration steps |
|---|---|---|
| Sign in – Graph | AuditLog.Read.All |
Configuration Step A |
| DirectoryAudit – Graph | AuditLog.Read.All |
Configuration Step A |
| Sign in - Office 365 | ActivityFeed.ReadActivityFeed.ReadDlpServiceHealth.Read |
Configuration Step B |
Click Add Permissions -> Microsoft APIs -> Microsoft Graph -> Application Permissions
Select the AuditLog.Read.All permission.

Click Add Permissions -> Microsoft APIs -> Office 365 Management APIs -> Application Permissions
Select ActivityFeed.Read, ActivityFeed.ReadDlp, and ServiceHealth.Read permissions.

Click Grant admin consent for <Organization name> to provide admin approval for all selected API permissions.

From the Overview menu (Azure Portal -> Microsoft Entra ID -> Manage -> App registrations -> All applications -> Select the appropriate app -> Overview), note the Client ID and Tenant ID values.

Note: This step is mandatory only for ingesting Defender for Cloud Apps logs.
Navigate to the Cloud Apps Settings (Microsoft 365 security portal -> System -> Settings -> Cloud Apps -> About) in the associated Microsoft 365 security portal.
Note the API URL.

_ Note: This step is required only if you choose the Client Secret authentication type._
Navigate to Certificates & secrets (Azure Portal -> Microsoft Entra ID -> Manage -> App registrations -> All applications -> Select the required app -> Manage -> Certificates & secrets -> Client secrets tab).
Create a Client Secret using the New client secret option.
In the Add a client secret page, provide a Description and Expiry Date and Click Add.

Copy the Client Secret from the Value field immediately,
Note: Please make sure to copy the Client Secret from the Value field in the table as soon as it is created since it will not be available once you leave the Client Secret Creation Page.

The Microsoft cloud source can be registered using the following authentication methods in Scope:
In the Scope application, to register a Microsoft cloud source, navigate to the cloud source registration page –
Log into the Scope application
Select the required organization
Navigate to the Side menu -> Administration
Navigate to the Cloud sources tab
Click on the +Add Source button
In the Create New Source pop-up, provide the parameters below.
Input Method Config Tab:

Data Provider Tab – O365:

Data Provider Tab – Microsoft Defender Unified:

Data Provider Tab – Microsoft Entra ID (Graph API):

Data Provider Tab – Microsoft Entra ID (O365 API):

Once the application details are entered, the Microsoft registration is complete in Scope and is ready for ingestion of Microsoft logs.
In the Scope application, navigate to the cloud source registration page (same navigation as Step 1.1).
In the Create New Source pop-up, configure the Device Name, Source, and Site fields.
Input Method Config Tab:

Data Provider Tab – O365:

Data Provider Tab – Microsoft Defender Unified:

Data Provider Tab – Microsoft Entra ID (Graph API):

Data Provider Tab – Microsoft Entra ID (O365 API):

Once the application details are entered, the Microsoft registration is complete in Scope and is ready for ingestion of Microsoft logs.
In the Scope application, navigate to the cloud source registration page (same navigation as Step 1.1).
In the Create New Source pop-up, configure the same Device Name, Source, and Site fields.
Input Method Config Tab:

Data Provider Tab – O365:

Data Provider Tab – Microsoft Defender Unified:

Data Provider Tab – Microsoft Entra ID (Graph API):

Data Provider Tab – Microsoft Entra ID (O365 API):

Once the source is created, a newly generated certificate will be available for download.
Upload the generated certificate file (.cer) by clicking Upload certificate in the Certificates & Secrets menu (Azure Portal -> Microsoft Entra ID -> Manage -> App registrations -> All applications -> Select the app -> Manage -> Certificates & secrets -> Certificates tab).
Once the certificate is uploaded, a Thumbprint ID will be generated (highlighted in blue). Note this thumbprint ID.

Provide the Thumbprint ID (generated above) in the cloud source created in Step 1.3 by editing the Microsoft cloud source via the edit option.

Once the Thumbprint ID is entered, the Microsoft registration is complete in Scope and is ready for ingestion of Microsoft logs.