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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Invalid filter clause ...
Power Apps
Unanswered

Invalid filter clause - syntax help needed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone,

 

I created a working custom connector that sends a GET request to the msgraph:

https://graph.microsoft.com/v1.0/groups?&$filter=startswith(displayname,'test')

 

This request works in the Microsoft Graph explorer, and within the custom connector test page. The custom connector splits the base URI and the additional queries. 

 

The base request works. This powerapp code is valid and returns all groups within the AzureAD: 

 

 

 

ClearCollect(
Tester1;
'P-Test-AZGroups'.Groups().value.displayName
)

 

 

 

 

This powerapp code is invalid, no matter what I put in the * field.  

 

 

 

ClearCollect(
Tester1;
'P-Test-AZGroups'.Groups({'$filter': ********* }).value.displayname
)

 

 

 

 

Examples I've used:

startswith(displayname,'test')
=startswith(displayname,'test')
"startswith(displayname,'test')"
"=startswith(displayname,'test')"
'=startswith(displayname,'test')'
"displayName eq 'test'"
"displayName like 'test'"

 

Does anyone know how to fill in the $filter field with a query? I can't seem to find the right syntax. I had some doubts if this question fits within this board (since the connector works) or the custom connector board. If this is the wrong board, please tell me. 😊

 

With kind regards,

 

Pieter

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard