cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Users Online
Currently online: 385 members 5,029 guests
Recent signins:
Please welcome our newest community members: