Type to search.

Configure Azure

Stack 9.1+

The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.

Availability

  • Generally available since 9.1

    This functionality is generally available and ready for production usage.

Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

To make API calls to Microsoft Graph, Elasticsearch requires Azure credentials with the correct permissions.

  1. Log in to the Azure portal and go to Microsoft Entra ID.
  2. To register a new application, click Enterprise applications > New application.
  3. Click Create your own application, provide a name, and select the Integrate any other application you don’t find in the gallery option.
"create your own application" page
"create your own application" page
  1. In the Azure portal, go to Microsoft Entra ID.

  2. Under App registrations, select the All applications tab, and then find the application created in the previous section.

    find your app registration
    find your app registration
  3. Take note of the Application (client) ID and Tenant ID shown here. These will be needed to configure Elasticsearch later.

    get your application ID
    get your application ID
  4. Under Manage > Certificates & secrets, do the following:

    • Create a new client secret.
    • Take note of your new client secret's Value. This is needed later, and is only displayed once. get your client secret
      get your client secret
  5. Under Manage > API permissions, do the following:

    1. Go to Add a permission.
    2. Choose Microsoft Graph.
    3. Choose Application permissions.
    4. Select Directory.ReadWrite.All, Group.ReadWrite.All, User.Read.All.
    Note

    An Azure Admin must approve these permissions before the credentials can be used.

    configure api permissions
    configure api permissions