icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.
Splunkbase will be undergoing a scheduled migration and will be unavailable on Saturday, Oct 1, 2022, from 11AM to 3PM PDT

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Microsoft Graph Security API Add-On for Splunk
SHA256 checksum (microsoft-graph-security-api-add-on-for-splunk_124.tgz) 4276092286b2ce0886f2eee890c0ae34c30256c0c03bcd145bdeca6e1f112660 SHA256 checksum (microsoft-graph-security-api-add-on-for-splunk_123.tgz) ec0b8867dedd09e14cfabd8b0b50a4553988de230543029b591338232b67eba9 SHA256 checksum (microsoft-graph-security-api-add-on-for-splunk_121.tgz) 0971be4b9531cfdb1a0f1d8935ea38221d981b4c9e1f26792ce66ffafb5791ab SHA256 checksum (microsoft-graph-security-api-add-on-for-splunk_110.tgz) 1103b425bf2ef2518236befb3af0368ffca62018aa4cd3d30d97ebde2da25b3c
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Microsoft Graph Security API Add-On for Splunk

Splunk Cloud
Microsoft Graph Security API Add-On allows Splunk users to ingest all security alerts for their organization using the Microsoft Graph Security API. Supported products include Azure Advanced Threat Protection, Azure AD Identity Protection, Azure Security Center, Azure Sentinel, Azure Information Protection, Microsoft Cloud App Security, Office Advanced Threat Protection, Defender Advanced Threat Protection and many more - Refer to complete supported product list at http://aka.ms/graphsecurityalerts

Security alerts ingested through this add-on are mapped to the Splunk Common Information Model which allow you to easily integrate the alerts into your existing processes and dashboards.

Follow the setup and configuration steps in the 'Details' tab of this add-on to use this add-on. Learn more about the Microsoft Graph Security API at http://aka.ms/graphsecuritydocs

Microsoft Graph Security Add-on for Splunk

Follow these steps to setup and configure this add-on to get security alerts from various Microsoft and partner security products in a unified format in Splunk for further processing using Microsoft Graph Security API.

Table of Contents

  1. Register a new application for the Splunk Add-On - One-time only for first time installations.
  2. Install the Add-on
  3. Configuring Microsoft Graph Security data inputs
  4. Optional: Configure Proxy settings
  5. Where to Install this add-on
  6. Add-on Upgrade Guide - For existing Microsoft Graph Security Add-on for Splunk on Splunk Enterprise upgrade to 1.1.0

Register a new application for the Splunk Add-On

These steps are needed to authenticate with the Microsoft Graph Security API.
Follow these steps to register a new application:

  1. Sign in to the Azure Portal with your work or school account. Note: this stage does not require an AAD tenant admin.
  2. Select Azure Active Directory (1).
  3. Select App registrations (2).
  4. Select New registration (3).

    Figure 1. AAD App Registration screen

  5. In the new registration form that opens, enter an application name (4).

  6. Select Register (5).

    Figure 2. Register application screen

  7. Next, you'll see the overview page and your app ID (7), and Directory (tenant) ID (8). Copy and save these fields. You will need them later to complete the configuration process.

  8. Click on View API Permissions (9) to display the Graph permissions screen.

    Figure 3. Application overview page

  9. In the API Permission screen, click on the Add a permission button (11) and select Microsoft Graph (12).

    Figure 4. Application permissions

  10. Next, select Application permissions (13) in the Request API permission pane that opens.

    Figure 5. Application Auth mode (permissions)

  11. Under Request API permissions, select SecurityEvents.Read.All (14). Then click Add permissions (15).

  12. [This step needs to be completed by the Azure Active Directory tenant admin] Login to the Azure Portal as the Azure Active Directory Tenant Administrator for your organization and navigate to App registration/API permissions screen. Click on Grant admin consent for 'the AAD tenant' (16).

    Figure 6. Select API permissions

  13. Under Certificates & secrets (17), choose New client secret (18). A new secret will be displayed in the Value column. Copy this password – this is the only time you’ll be able to. You will need it later to complete the configuration process.

    Figure 7. Create App secret

Install the Add-on

  1. In Splunk home screen, on the left side sidebar, click "+ Find More Apps" in the apps list, or click the gear icon next to Apps then select Browse more apps.

    Figure 8. Find more apps

  2. Search for Microsoft Graph Security in the text box, find the Microsoft Graph Security API Add-On for Splunk and click Install. To learn more about where to install this add-on, please refer to the instructions below under Where to install this add-on section.

    Figure 9. Microsoft Graph Security add-on

  3. If Splunk Enterprise prompts you to restart, do so.

  4. Verify that the add-on appears in the list of apps and add-ons as shown in the diagram below.

    Figure 10. Splunk home page

Configuring Microsoft Graph Security data inputs

NOTE: There are changes in the configuration data inputs with the Microsoft Graph Security Add-on for Splunk version 1.1.0. In the previous Microsoft Graph Security Add-on for Splunk version 0.1.1, Application ID and Client Secret are entered directly under the Inputs tab. In the Microsoft Graph Security Add-on for Splunk version 1.1.0, these app credentials won't appear under the Inputs tab. The app credentials like Application ID and Client Secret need to be entered while creating a new Account in the Configuration tab.

  1. From the app list, select Microsoft Graph Security API Add-On for Splunk.
  2. Navigate to the Configuration page, then select Account tab. Then click Add to create an account.
  3. Enter a unique Account Name, Application ID (as UserName) and Client Secret ( as Password) registered in the earlier section Register a new application for the Splunk Add-On.

    Figure 13. Adding an account

  4. Navigate to the Inputs page, select Create New Input.

  5. Enter a unique name for the data input.
  6. Set an interval greater or equal to 300 seconds.
  7. Select an index to store your alerts.
  8. From the steps above, enter your Azure Tenant ID.
  9. [Optional step] Set OData filter if needed – check list of curated query samples for ready to use Microsoft Graph Security API queries.
  10. For App Account, select the account created in Step 3 from the list of the app accounts already created under Configuration tab.
  11. Click Add.
  12. Now you can search and create Splunk dashboards using your Microsoft Graph Security Alerts.

    Figure 14. Adding an input


  1. The first time an input is created, it will pull as many Microsoft Graph Security alerts as possible. Then all subsequent requests will pull alerts with the lastModifiedDateTime between the set interval and the current time.
  2. If you create multiple inputs, the add-on will have multiple data streams from the Microsoft Graph Security API resulting in duplicate alerts.
  3. For this add-on: sourcetype=GraphSecurityAlert

Optional: Configure Proxy settings

If you have Splunk and relevant add-ons running behind a proxy server, follow these additional steps. Refer to the following diagram for details.

  1. Go to the Configuration tab of the add-on.
  2. Enter your proxy information under the Proxy tab.
  3. Click Save.

The Add-on will now use your proxy settings.
Figure 10. Proxy Configuration

Where to install this add-on

Unless otherwise noted, all supported add-ons can be safely installed to all tiers of a distributed Splunk platform deployment. See Where to install Splunk add-ons in Splunk Add-ons for more information.
See Splunk Cloud install documentation for Splunk Cloud install.

This table provides a reference for installing this specific add-on to a distributed deployment of Splunk.

Splunk platform component Supported Required Comments
Search Heads Yes Yes This add-on contains search-time knowledge. It is recommended to turn visibility off on your search heads to prevent data duplication errors that can result from running inputs on your search heads instead of (or in addition to) on your data collection node.
Heavy Forwarders Yes No (but recommended) It is recommended to install this add-on on a heavy forwarder for data collection. Data collection should be configured in only 1 place to avoid duplicates.
Indexers Yes No Not required as the parsing operations occur on the forwarders.
Universal Forwarders No No Universal forwarders are not supported for data collection because the modular inputs require Python and the Splunk REST handler.

Add-on Upgrade Guide

NOTE: If you've had the 0.1.1 version installed, a best practice for upgrading the Microsoft Graph Security API add-on for Splunk is to remove your older version before re-installing version 1.1.0 of the Microsoft Graph Security API add-on for Splunk. If you are uninstalling and reinstalling the Microsoft Graph Security API add-on for Splunk, follow the steps for New Installation above.

The following migration guide is supported for upgrading from Microsoft Graph Security API add-on for Splunk version 0.1.1 to Microsoft Graph Security API add-on for Splunk versions 1.1.0 and higher.

If you are upgrading on Splunk Enterprise, follow these steps.

  1. Disable all your inputs before you upgrade the add-on. Otherwise you may see errors in the log files which may result data loss against your already configured inputs.
  2. On the app list, navigate to the Microsoft Graph Security add-on for Splunk, to see an option to upgrade the app. Click on Update button.
  3. A new screen appears with the standard Splunk Terms to upgrade an app. Click Accept and Continue.

    Figure 11.Splunk Terms

  4. Enter your username and password to log in the app. Click Login and Continue.

    Figure 12.Login

  5. After login, an Overview page appears and the Update button disappears. Follow the instructions in the section for Configuring Microsoft Graph Security data inputs to pull the alerts from Microsoft Graph Security API using the new configuration experience.

Release Notes

Version 1.2.4
Jan. 21, 2022

Additional changes to support Splunk Cloud

Version 1.2.3
Aug. 24, 2021

Updates to support Splunk Add-on Builder v4.0.0

Version 1.2.1
Sept. 3, 2020
  1. Python 3.0 support changes
  2. Support for Splunk 8.0
Version 1.1.0
Jan. 30, 2020
  1. Support for Splunk Cloud
  2. Support for Python 3,0
  3. Properties for Null values of alerts won't be displayed
  4. Fixed alert duplication issues

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.