Five Number tools › Graph OData Query Builder
Microsoft Graph OData Query Builder
Build a Microsoft Graph GET query with $filter, $select, $expand, $orderby, $top and $count, pick a resource and its properties, and the tool writes the request URL for you. It adds the ConsistencyLevel header and $count=true when a directory-object query needs advanced query parameters, then hands you the URL, a Graph Explorer link, PowerShell and cURL.
Start from an example
$filter rows suggested values appear for enum and boolean fieldsJoin rows with
$select properties comma separated, or tap a property below
Request URL
PowerShell (Microsoft Graph)
cURL
How it builds the query
- System query options are GET only and always carry the
$prefix. The order in the URL does not matter to Graph; this tool writes them as$search,$filter,$orderby,$select,$expand,$top,$count. - Values are typed. Strings are wrapped in single quotes with internal quotes doubled, while numbers, booleans, GUIDs and date-time values are left unquoted, the way Graph expects.
- Advanced queries. On directory objects (users, groups, applications, servicePrincipals, devices and the like) the tool adds the
ConsistencyLevel: eventualheader and$count=truewhen you useneorendsWith, turn on$count, use$search, or combine$filterwith$orderby.$searchneeds the header but not$count. - Collections and lambda. Properties that are collections, such as
groupTypesorproxyAddresses, are filtered in Graph with a lambda likegroupTypes/any(c:c eq 'Unified'). This builder does not write lambda expressions yet, so add those by hand. - Preview, not a request. The URL, PowerShell and cURL are generated for you to run with your own token. Nothing here calls Graph or needs a sign-in.