web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Graph API to get share...
Power Automate
Unanswered

Graph API to get sharepoint items with filter and in operator

(0) ShareShare
ReportReport
Posted on by 2

Hi 

 

I am building up Graph API flow which will be called from PowerApps to get sharepoint list items filtered.

Sharepoint List has more than 30K items. 

 

filtering with operators startswith, eq works fine. 

But I would like to use operator in to search within Title column. 

link looks like 

/sites/{site-id}/lists/{list-id}/items?$expand=fields($Select=Title,ID,Status)&$filter=(fields/Title in 'Approval')&$count=true

 

I received back 

 "code""BadRequest",
    "message""Invalid filter clause: An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. A 'StartArray' node was expected.",
 
I tried it also with header ConsistencyLevel: eventual
 
Any idea please? 
Categories:
I have the same question (0)
  • renatopc84_ch Profile Picture
    228 on at

    Hi @JanMikulasovic 

    Is there a specific reason to use the graph API instead of the GET ITEMS with Filter Query?

  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    IN  is the wrong operator for that. It is used to test for list membership, not for pattern matching  (a la "contains")

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard