John John
John John

Reputation: 1

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

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

enter image description here

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?

Upvotes: 0

Views: 2121

Answers (1)

Murat
Murat

Reputation: 26

I saw some posts about it. Just put / after groups:

groups/?....

Upvotes: 1

Related Questions