graph API filter being ignored

Nick Mumby 0 Reputation points
2024-04-24T08:20:27.2133333+00:00

I have a flow that returns a list of all site pages using the graph api. I've been trying to add a date filter, but it seems to be completely ignored when running the GET request. 
I've tried to simplify it as much as possible and it seems I can't get any type of filter to work. Below you can see there is a filter for name to equal test. But it seems to be completely ignored. The first item returned name ios 'Home.aspx'

What am I doing wrong?

https://graph.microsoft.com/beta/sites/<site id>/pages/microsoft.graph.sitePage?$filter=name eq 'test'
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,649 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Srinivasa Rao Darna 6,691 Reputation points Microsoft Vendor
    2024-04-29T10:10:07.1366667+00:00

    Hello @Nick Mumby ,

    It appears there is no support for $filter in GET /sites/{site-id}/pages/microsoft.graph.sitePage even though the List SitePage documentation says it is supported.

    You submit this in https://aka.ms/graphfeedback.

    Hope this helps. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments