An API that connects multiple Microsoft services, enabling data access and automation across platforms
The error occurs because the $filter expression is malformed. In Microsoft Graph, query options such as $filter must be separated from the resource path by a ?, not appended as another path segment.
Instead of:
https://graph.microsoft.com/v1.0/groups$filter=resourceProvisioningOptions/Any(x:x eq 'Team')
use:
https://graph.microsoft.com/v1.0/groups?$filter=resourceProvisioningOptions/any(x:x eq 'Team')
Key points:
- There must be a
?before$filter. -
$filteris a query parameter, not part of the/groupspath. - The
anyoperator syntax follows the same pattern as other$filterexamples, such as:~/groups?$filter=NOT groupTypes/any(c:c eq 'Unified') -
resourceProvisioningOptionsis the property that indicates a group has a team; any group that has a team hasresourceProvisioningOptionscontaining"Team".
Use the corrected URL in Graph Explorer and in Power Automate’s HTTP/Graph actions, and the request should succeed.
References: