Get-MgBetaSecurityRunHuntingQuery
GET /security/getRunHuntingQuery(query='{query}',timespan='@timespan',workspaceId=@workspaceId) (beta)
Module: Microsoft.Graph.Beta.Security
Permissions
Delegated (work or school)
- ThreatHunting.Read.All (least privilege)
Delegated (personal)
No permission metadata available for this account type.
Application
- ThreatHunting.Read.All (least privilege)
Source: Microsoft Graph PowerShell SDK metadata
Confirm property-specific permissions, Entra roles, licensing and ownership requirements in the official documentation. SDK metadata outside the verified sample is not independently certified.