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 / Unable to get a securi...
Power Automate
Answered

Unable to get a security group ID by name using Graph API. Error "URI path is not a valid Graph endpoint,"

(0) ShareShare
ReportReport
Posted on by 3,506

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'):-

 

johnjohn123_0-1659736699905.png

 

 

 

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?

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    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

     

  • Verified answer
    VictorIvanidze Profile Picture
    13,073 on at

    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 ?

     

  • VictorIvanidze Profile Picture
    13,073 on at

    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?

  • EzequielBarbosa Profile Picture
    3 on at

    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'

     

    EzequielBarbosa_0-1666977870789.png

     

  • djmaher Profile Picture
    6 on at

    Can anyone tell me how to fix this , getting the same error . 

     

    https://graph.microsoft.com/v1.0/groups/?$filter=displayName+eq+ 'group_name'

     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard