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 / 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)
  • GabrielStJohn Profile Picture
    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

  • v-yamao-msft Profile Picture
    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

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard