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 Automate / Azure AD "Get Group" e...
Power Automate
Answered

Azure AD "Get Group" error "resource does not exist" when in a Flow with trigger "HTTP Request"

(0) ShareShare
ReportReport
Posted on by 203

I have a Flow with the "HTTP Request" trigger.  In the Flow the Azure AD "Get Group" action, which is supplied with a valid group GUID, errors with "resource <GUID> does not exist".

The group GUID is valid because when I put the same Azure AD "Get Group" action in a Flow that has the manual button trigger it works fine and returns the group.

Does a Flow that starts with a "HTTP Request" run in a different context from the "normal" situation of "a Flow runs in the context of the user who triggered it"?

Hence the manual button triggered Flow runs in my security context (if I run it) which has permissions to get the group specified by the GUID.

But the "HTTP Request" triggered Flow runs in the context of some other account which doesn't have access to the group, hence "resource <GUID> does not exist"?   Maybe?

If so, how do I pass the context I want the "HTTP Request" triggered Flow to run in to be able to use the actions like Azure AD "Get Group"?

Categories:
I have the same question (0)
  • LozzieD Profile Picture
    203 on at

    Some more info ...

    When there's a SharePoint "Create Item" action in the "HTTP Request" triggered Flow the "created by" column is populated with the user who ran the Flow that called (with the "HTTP" action) the "HTTP Request" triggered Flow.

    So the context of the "HTTP Request" triggered Flow appears to be delegated to from the calling Flow.  In this case the user - me - is valid for doing a "Get Group" action as proven when the "Get Group" action is in a "manual button" triggered Flow.

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @LozzieD,

     

    Could you share a screenshot of your flow?

    How do you specify the GUID of the group when using the HTTP trigger?

    If you get it from the HTTP trigger, please make sure it does return a valid GUID that can be validated by flow.

    Please check it on your side.

     

    Best regards,

    Mabel

  • LozzieD Profile Picture
    203 on at

    Hi Mabel,

     

    Here's the HTTP Request Flow stripped to the bone ...

     

    FailFlow.png

     

    Here's the Flow that calls it with an HTTP action, again stripped to the bone ...

     

    FailFlowCall.png

     

    The group ID is gained from Azure AD here ...

     

    GroupGUID.png

     

    The Flows fails as follows ...

     

    FlowError.png

     

    Now here's a clue.  I've implemented the exact same Flow and Flow caller pair in another tenant and it works ok.

     

    The tenant it works in ok is monthly updates, and the tenant it doesn't work in is bi-annual updates - I think.

     

    Let me look into that and see what other differences there might be.  But perhaps you could try it too and see what you get?

     

  • LozzieD Profile Picture
    203 on at

    And for completeness, here's the HTTP request triggered Flow when it works in the other tenancy ...

    FlowNoError.png

    So to be clear:  The group GUID is simply being copy pasted from the Azure AD portal into the HTTP caller Flow in both the tenant that works, and the tenant that doesn't work.

     

  • Verified answer
    LozzieD Profile Picture
    203 on at

    Ok, my bad.

    Somehow, the "Get Group" action in the "HTTP Request" triggered Flow was running the connector in the context of a dfferent user account from another tenancy / domain than the logged on account I was using to craft the Flow. This other account was one I had been using in other windows of the browser and seemed to have been selected for the account to use on the connector of the "Get Group" action.

    When I replaced the account used on the connection for the "Get Group" action with the correct account in this tenancy / domain the "HTTP Request" triggered Flow worked fine when called from the "HTTP" Flow.

    Apologies for the distraction!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard