cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
R4ID
Level: Powered On

Can't interact with excel using "Send an http request to SharePoint"

Hello,


I have done a flow supposed to interact with an excel file uploaded on a sharepoint site.


The fact is that I can access to file properties through a request with "Send an http request to sharepoint" block. But I can't go further and "fetch" the item as a workbook.


Here is a part of my flow where "Sortie" is the Ms graph id of the file (014ASQQRCXU54B7JPDG5GKYGFOCB2N4CBU) :

 

ExcelSharepoint.png

 

This request returns this error:

 

ExcelSharepointError.png

 

While the request without "/workbook/worksheets" returns this:

 

ExcelSharepointResult.png

Do you have any solution to interact with the file as a workbook object ?

 

Thanks,
Antoine

3 REPLIES 3
Community Support Team
Community Support Team

Re: Can't interact with excel using "Send an http request to SharePoint"

 

Hi @R4ID ,

 

From the response data you provide, it does not contain properties such as workbooks or worksheets.

And as far as I know, most of the features in Flow are used to process Excel tables, it is difficult to parse the data in the worksheet.

In addition, there is a worksheet related blog, please check it and see if it helps:

http://johnliu.net/blog/2019/5/workarounds-needed-to-use-the-excel-connector-in-microsoft-flow

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
R4ID
Level: Powered On

Re: Can't interact with excel using "Send an http request to SharePoint"

Hello @v-bacao-msft, thanks for your help.

 

"From the response data you provide, it does not contain properties such as workbooks or worksheets."

 

My bad, I hid the part with the name and the file format.

Screenshot_2.png

 

Here are more information about the file itself :

- I have two worksheets named "Execution" and "Agregation".

- Inside each worksheet, there is a table named as the worksheet (Sheet Execution -> Table Execution, Sheet Agregation -> Table Agregation).

- The first table have 3 columns, the seconde one 4.

 

"In addition, there is a worksheet related blog, please check it and see if it helps:"

 

Well, I didn't show all the flow but I already try this solution. And it works well as far as you only trying to get data from the file.

 

Screenshot_3.png

 

But It doesn't work when I try to update a table using "Add a row into a table" because Ms flow doesn't display the fields to fill the table.

 

Any idea ?

 

Thanks,

Antoine

 

Community Support Team
Community Support Team

Re: Can't interact with excel using "Send an http request to SharePoint"

 

Hi @R4ID ,

 

Unfortunately, we are currently adding data to Excel file on runtime.

Add a row into a table action only supports adding data to a pre-configured Excel table, and the Excel file needs to be selected from File browse.

A known limitation with the excel connectors is that the list rows in a table, update rows etc. such actions, need select excel file and the table already exists.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,605)