I want to get a security group ID by name, so i tried this HTTP request action, by passing this uri (https://graph.microsoft.com/v1.0/groups?$filter=displayname eq 'SEC-Project Repository Hub-Visitors'):-
but i got this error
{
"error": {
"code": 400,
"message": "URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: groups. Uri: https://graph.microsoft.com/v1.0/groups?$filter=displayname eq 'SEC-Project Repository Hub-Visitors'",
"source": "canada-001.azure-apim.net",
"path": "choose[10]\\when[1]",
"policyId": "",
"clientRequestId": "*****"
}
}
any advice please?
Can anyone tell me how to fix this , getting the same error .
https://graph.microsoft.com/v1.0/groups/?$filter=displayName+eq+ 'group_name'
I'm facing the same problem. I included as it showed like this, but still the error persists:
https://graph.microsoft.com/v1.0/groups/?$filter=displayName eq 'GA_GTI_TODOS'
Hi @MarconettiMarco ,
I got this:
{
"error": {
"code": "BadRequest",
"message": "Invalid filter clause",
"innerError": {
"date": "2022-08-07T14:28:41",
"request-id": "88b45b3d-46c3-4edb-9c68-847dd1a41274",
"client-request-id": "569f6590-0ca6-e422-500a-e5e009eab8cd"
}
}
}
did you test it yourself? Where did you find this syntax - could you provide a link to documentation?
It's a known bug. Use this URI:
https://graph.microsoft.com/v1.0/groups/?$filter=displayName+eq+ 'SEC-Project Repository Hub-Visitors'
Note a slash between groups and ?
Hello @johnjohn123 ,
you should use this URI: https://graph.microsoft.com/v1.0/groups?$filter=eq(displayName,SEC-Project Repository Hub-Visitors)
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.
BR,
Marco
WarrenBelz
146,786
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,093
Most Valuable Professional