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 / GET HTTP Request to Sh...
Power Automate
Answered

GET HTTP Request to SharePoint - Results Only Visible When Triggered By Owner of Flow

(0) ShareShare
ReportReport
Posted on by 27

Hi everyone,

 

I am using the HTTP Request to SharePoint to get information from the SharePoint recycle bin for a deleted item (which is also the trigger of the flow). The problem is, I only get results when I delete something with the user that is used for the connection within the flow. Obviously, this user has full admin rights to SharePoint.

 

When I delete the item with any other user, the results of the outputs are empty in the flow. On the other hand, when I execute the request directly in the browser for the user that deleted the item, the body is visible. It seems like not even the admin with global office admin rights has access to the results of another user.

 

Following an example:

 

I deleted an item on SharePoint with a test user. The body of the HTTP request to SharePoint is empty within the flow.

Tomeczek_0-1617702310483.png

On the other hand, executing the request directly in the browser for the test user is showing the body:

 

Tomeczek_1-1617702506272.png

 

Executing the request directly in the browser for the admin user, shows again an empty body:

 

Tomeczek_2-1617702643792.png

 

How can make sure the information is also available when an item is deleted with a different user?

 

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hello @Tomeczek 

    As you may know, SharePoint has 2 recyle bins (user one, and site collection one). The items removed from the user recycle bin are then stored in the site collection recycle bin (2nd stage recycle bin). So, as a site collection administrator, you could access to those elements that are in the 2nd stage recycle bin.

     

    On the other hand, Power Automate currently doesn't allow to "impersonate" a user identity when using HTTP request action, so you can't access a user's recyle bin. Another similar post can be found here: Solved: Access to other user's recycle bin in Sharepoint - Power Platform Community (microsoft.com)

    Hope it helps!

    Ferran

  • Thomas Fialek Profile Picture
    27 on at

    Hi @fchopo ,

     

    thanks for your reply. How can I access this collection recycle bin? In other words what needs to be changed in the uri?

     

    /_api/web/RecycleBin?

     

  • fchopo Profile Picture
    8,003 Moderator on at

    /_api/web/RecycleBin -> User's recycle bin

    /_api/site/RecycleBin -> 2nd stage recycle bin (you have to be site collection administrator)

     

    Hope it helps!

    Ferran

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard