Skip to main content

Microsoft Graph Search

This Integration is part of the Microsoft Graph Search Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Use the Microsoft Search API in Microsoft Graph to search content stored in OneDrive or SharePoint: files, folders, lists, list items, or sites.

Configure Microsoft Graph Search on Cortex XSOAR#

  1. Navigate to Settings > Integrations > Servers & Services.

  2. Search for Microsoft Graph Search.

  3. Click Add instance to create and configure a new integration instance.

    ParameterDescriptionRequired
    ID or Client IDTrue
    Token or Tenant IDTrue
    Key or Client Secret (can be used instead of Certificate Thumbprint and Private Key)False
    Certificate Thumbprint (can be used instead of Client Secret)False
    Private KeyFalse
    Authorization codeTrue
    Application redirect URITrue
    Trust any certificate (not secure)False
    Use system proxy settingsFalse
  4. Click Test to validate the URLs, token, and connection.

Commands#

You can execute these commands from the Cortex XSOAR CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

msgraph-search-test#


Tests connectivity.

Base Command#

msgraph-search-test

msgraph-search-content#


Use the Microsoft Search API in Microsoft Graph to search content stored in OneDrive or SharePoint: files, folders, lists, list items, or sites.

Base Command#

msgraph-search-content

Input#

Argument NameDescriptionRequired
query_stringRepresents a (text string) search query that contains search terms and optional filters.Required
entity_typeOne or more types of resources expected in the response. . Possible values are: list, site, listItem, message, event, drive, driveItem, externalItem.Required

Context Output#

PathTypeDescription
SearchContentunknownOneDrive or SharePoint content returned from the search

msgraph-search-generate-login-url#


Generate the login url used for Authorization code flow.

Base Command#

msgraph-search-generate-login-url

Input#

Argument NameDescriptionRequired

Context Output#

There is no context output for this command.