Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Microsoft Defender

Overview

Microsoft Defender data collection is available in Cisco Identity Intelligence to discover identities and devices onboarded to Defender.

Microsoft Entra ID pre-requisites

Before continuing, confirm you have:

  • A Identity Intelligence Admin account to configure the integration

  • A Microsoft Defender for Endpoint P2, Defender for Business, E5 or E7 license and devices onboarded to Defender. These are required for identity discovery

  • Appropriate Entra Licensing - sign-in logs are NOT currently available via Graph API with non-P1 or P2 Entra ID subscriptions, e.g Microsoft Entra ID Free (Reference: Entra Sign-in Logs)

  • Access to create an Entra app and an administrator authorized to grant Microsoft Graph application consent, such as a Privileged Role Administrator. See Microsoft’s admin consent requirements

Please note that Microsoft Entra ID B2C is not supported

Manual App Registration Setup Steps

This section details the manual process to create the Entra ID app registration for Identity Intelligence data collection.

There are 3 high-level steps you need to go through to set up your Microsoft Entra ID API key before connecting it to Identity Intelligence:

  1. Setup App registration

  2. Assign the App the appropriate permissions

  3. Create a client secret in Entra ID

  4. Add Entra ID API details to Identity Intelligence Dashboard

Step 1: Setup App in Microsoft Entra ID

First, we will create the app in your Microsoft Entra ID tenant

  1. Go to Microsoft Entra ID...App registrations

  2. Select New registration

  3. Fill in the details for the new app

    • Name this app "Identity Intelligence Data Integration" or something similar

    • Make sure to select “Accounts in this organizational directory only (Your Entra ID tenant name only – Single Tenant)”

    • No redirect URI is required - leave these fields blank

  4. Select Register

  5. Save the following information as it will get entered into the Identity Intelligence dashboard.

    • Application (client) ID

    • Directory (tenant) ID

  1. Proceed to the Add API Permissions section once complete

Step 2: Add API Permissions

  1. Go to API Permissions under your newly created Identity Intelligence Integration app

  2. Select Add a permission

  3. Select Microsoft Graph

  4. Select Application Permissions

    • NOTE - Permissions to be added below must ALL be of type Application

  5. Read-only permissions: Please repeat steps 2 through 4 for all of the following permissions listed in step 6

  6. Select the read permissions below based on your organization's Entra licensing. Be sure to include ThreatHunting.Read.All for Defender data

Read permission
Required Entra ID Licensing and Details

Application.Read.All AuditLog.Read.All Directory.Read.All Group.Read.All GroupMember.Read.All IdentityRiskEvent.Read.All MailboxSettings.Read Policy.Read.All Reports.Read.All Synchronization.Read.All User.Read.All UserAuthenticationMethod.Read.All

Requires Entra P1 or P2 license (or equivalent) Enables Basic Entra data collection, which is required for integration to function

ThreatHunting.Read.All

Microsoft Defender: Defender for Endpoint P2 and onboarded devices Required for this integration

AgentCardManifest.Read.All AgentIdentity.Read.All AgentIdentityBlueprint.Read.All AgentIdentityBlueprintPrincipal.Read.All AgentInstance.Read.All

Requires E7 or Agent 365 licenses Enables Entra agent data collection

IdentityRiskyAgent.Read.All IdentityRiskyServicePrincipal.Read.All IdentityRiskyUser.Read.All

Requires Entra P2 license Enables ingestion of Entra Risky Event types

DeviceManagementApps.Read.All DeviceManagementConfiguration.Read.All DeviceManagementManagedDevices.Read.All

Requires Intune license Enables ingestion of Intune managed devices

  1. Once added to the list, select Add Permissions, then select Grant admin consent. Then select Yes

  1. Proceed to the Step 3: Create Client secret section of the documentation

Step 3: Create Client secret

  1. Go to Certificates & Secrets under your Identity Intelligence Integration app

  2. Select New client secret

  3. Fill in the description, such as "Identity Intelligence Integration", and the desired Expiration timeframe for the secret, (i.e. 12 months). Select Add

  4. Select the copy icon to copy and save both the Secret ID and Secret Value to a secure location. These will be used later to finish the integration set up

    • Important: Once you leave this page you WILL NOT be able to get the secret value again. If lost, you will have to delete and create a new one

Step 4: Create Microsoft Defender Integration in Identity Intelligence

Finally, we will add the integration in the Identity Intelligence dashboard

  1. Login to Identity Intelligence with an Identity Intelligence Admin role

  2. Using the left hand menu bar, navigate to the Integrations page. Select the Add Integration button

  3. Locate the Microsoft Defender integration tile and select the Add Integration button within that tile

  4. Fill in the details for the Microsoft Defender Integration. Enter the values saved from earlier on in the Microsoft Entra ID setup for all fields except Name

    • Name - The display name for the Defener Integration that will be used to recognize the integration throughout Identity Intelligence

    • Directory ID

    • Application ID

    • Secret ID

    • Secret VALUE

    • [If Copilot Data Ingestion is enabled] Add the Copilot environments with "Configured" status, taken from the output of the script in previous configuration step

  5. Select Connect to test the connectivity. This may take a few minutes to complete

  6. Once the connectivity test is successful, select Save. You will now see the integration listed on the Integrations page. Ensure that the integration's Connectivity Status is Connected

  7. On the right hand side of the row for your Defender integration, select the 3-dot button to open the pop-up menu. Select Collect Now to start the first data ingestion. You can also skip this step and it will happen automatically within the next 24 hours.

  8. Congratulations, you have successfully set up the Microsoft Defender Integration!

Last updated