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 in Cortex#

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

Commands#

You can execute these commands from the 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.