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

Report
All responses (
Answers (