ThreatHunting.ReadWrite.All

ThreatHunting.ReadWrite.All is available as both an application and a delegated permission in Microsoft Graph. Application access requires admin consent. Delegated access requires admin consent. See Microsoft's permissions reference.

Permission details

Versionv524 Nov 2026
PropertyApplicationDelegated
Display nameRun hunting queries and manage all hunting functionsRun hunting queries and manage hunting functions
DescriptionAllows the app to run hunting queries and to read and write hunting functions, without a signed-in user.Allows the app to run hunting queries and to read and write hunting functions, on behalf of the signed-in user.
Permission ID6e251752-0d87-4158-b87b-b60e768fa657a2e55068-32fd-4091-a37c-120338337abd
Admin consent requiredYesYes
Privilege levelLevel 3 · HighBroad or sensitive access that can significantly affect users or organizational data.Level 3 · HighBroad or sensitive access that can significantly affect users or organizational data.

Roles that support this permission

0 roles

No Microsoft Entra roles are mapped to this permission.

Request samples

26 samples
About these request samplesSome read operations use POST requests, such as searches that send query details in a request body. Samples and permission mappings are collated from multiple official Microsoft sources, including Microsoft Graph DevX and the PowerShell SDK. Differences between API versions and source metadata mean they may not always reflect actual endpoint behavior. Verify the current Microsoft Graph documentation before implementation.

application

  • DELETE
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • DELETE
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • GET
    /security/gethuntingschematablesNo matching Microsoft Graph PowerShell command
  • GET
    /security/gethuntingschematables()No matching Microsoft Graph PowerShell command
  • GET
    /security/gethuntingschematables(workspaceid={workspaceid})No matching Microsoft Graph PowerShell command
  • GET
    /security/getrunhuntingqueryNo matching Microsoft Graph PowerShell command
  • GET
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • GET
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • PATCH
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • PATCH
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • POST
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • POST
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • POST
    /security/runhuntingquery
    PowerShellStart-MgSecurityHuntingQuerySecurity

delegated

  • DELETE
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • DELETE
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • GET
    /security/gethuntingschematablesNo matching Microsoft Graph PowerShell command
  • GET
    /security/gethuntingschematables()No matching Microsoft Graph PowerShell command
  • GET
    /security/gethuntingschematables(workspaceid={workspaceid})No matching Microsoft Graph PowerShell command
  • GET
    /security/getrunhuntingqueryNo matching Microsoft Graph PowerShell command
  • GET
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • GET
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • PATCH
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • PATCH
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • POST
    /security/huntingsavedfunctionsNo matching Microsoft Graph PowerShell command
  • POST
    /security/huntingsavedfunctions/{id}No matching Microsoft Graph PowerShell command
  • POST
    /security/runhuntingquery
    PowerShellStart-MgSecurityHuntingQuerySecurity