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 / HTTP Request to put ne...
Power Automate
Unanswered

HTTP Request to put new content into Excel file on Sharepoint does not work

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

I want to use 'send an HTTP request to Sharepoint' in order to put new content into an Excel Sheet on Sharepoint. This is my standard form which I change with new data during my flow, then save the changed version under a new name, and finally want to restore the content of that standard form.

I have to use this approach as I cannot just copy the form within the flow as it is not possible to access dynamic content created during the flow with "add row" etc. Furthermore, I cannot replace the form with original content either as it is blocked due to being used within the flow before.

 

I expect that the HTTP Request can solve my problem.

However, I cannot get this command to work:

 

Method: PUT

 

URI:

/_api/web/getFolderByServerRelativeUrl('Documents/General')/Files('{Form_B.xlsx}')

-> it should work, but it doesn't, I get the error "file could not be found" (it exists of course)

 

Headers:

{"Accept": "application/json;odata=verbose",
"Content-Type": "application/json;odata=verbose"}

-> not sure if a header is necessary here at all

 

{
"body": {
"$content": "Get_file_content"
}}

-> this is the content of the original standard form which I receive via "get file content" at the start of my flow. I am sure that this is not complete yet.

 

I wish I could have added an image, but I somehow dont have permissions to do so.

I would be very grateful indeed for any help, I googled this issue many hours but did not find the needed information.

Thanks!

Categories:
I have the same question (0)
  • Yutao Huang Profile Picture
    Microsoft Employee on at

    Hello @Andreas_AYU ,

     

    Could you please elaborate a little bit on this?

     


    ... as it is not possible to access dynamic content created during the flow with "add row" etc.

    Were you saying that the actions like "Add row" from the Excel Online (Business) connector cannot work against a workbook dynamically created/uploaded during a flow?

     

    Thanks!

    Yutao

  • jfeghali Profile Picture
    68 on at

    Is there any way you fixed the problem in those 3.5 years?

     

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard