cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
R4ID
Regular Visitor

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
Community Support

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
Regular Visitor

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
Community Support

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
Did you attend MBAS? Claim your badge

Attending MBAS? Claim your badge

Whether you’ve streamed the digital event live, or you're watching on-demand, claim your attendee badge to sport on your profile.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Users online (5,143)