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 / Microsoft Flow - HTTP ...
Power Automate
Unanswered

Microsoft Flow - HTTP Get step failing with access denied

(0) ShareShare
ReportReport
Posted on by 1

In my flow I am trying to use an Access token generated by a Parse JSON task, in the next step I use that to retrieve a list of the members of a Sharepoint group...

 

the step that fails is an HTTP GET calling the URI:

https://tenant.sharepoint.com/_api/web/sitegroups/getbyname('GroupName×​')/users

 

This step is failing with the below error:

{"odata.error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}}

I don't understand why I am getting this error now. What can I do to track down why I don't have access permissions for this?

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @pwl2706,

     

    The error message says that you don’t have permission to access the resource. Could you check the SharePoint logs?

     

    Please also check Web Application User Policy to see if there is any policy to deny users or groups in AD groups.

     

     

    Best regards,

    Mabel Mao

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hey, @pwl2706!

     

    It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

     

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard