What is the Microsoft Graph API for adding a row to excel present in another drive?

for_msqna 0 Reputation points
2023-08-09T13:36:09.04+00:00

https://learn.microsoft.com/en-us/graph/api/tablerowcollection-add

https://learn.microsoft.com/en-us/graph/api/table-post-rows

These documents don't mention how to add row in Excel file present in another drive.

Although I have got the below api which works but it's not mentioned anywhere in documentation.

https://graph.microsoft.com/v1.0
 /sites/{siteId}
 /drives/{driveId}
 /items/{itemId}
 /workbook/tables/Status/rows/add

I need to get the actual documentation for the API to update Excel present in another drive for which I have the driveId.

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. msft-gu 1,355 Reputation points
    2023-08-10T17:56:22.4366667+00:00

    Hi for_msqna,

    Thank you for your question. I checked the article for Workbook table row and it seems that all of the sample is using /me/drive. I also verified the Workbook and charts overview under https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0 and it seems that all of the sample also is using /me/drive.

    It maybe that adding a row to Excel present in another drive is not yet available as of this time. To verify further, here is what you can do:

    I hope I was able to provide insight on your question. Have a great day ahead.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.