azureblog.co.uk
← cd ~/tools
// tools/graph-query

Graph query builder

Pick what you're querying and add conditions. You'll get the request URL, the Graph PowerShell and the Invoke-MgGraphRequest version, with the ConsistencyLevel: eventual header added whenever the query needs advanced query support.

Runs entirely in your browser. Nothing you paste is sent anywhere.

Return these properties

Request

Graph PowerShell

Invoke-MgGraphRequest

Filters follow Microsoft's $filter and advanced query rules. Not every property supports every operator; if Graph returns "Unsupported query", check the property's notes in the reference for that object.