Pulling Excel.xlsx workbook from Sharepoint site using Microsoft Graph API

前端 未结 1 700
南笙
南笙 2021-01-24 10:12

As stated in the title, I\'ve been trying to use the Microsoft Graph API to pull an Excel workbook from our company\'s Sharepoint site. I am able to retrieve the metadata for th

相关标签:
1条回答
  • 2021-01-24 10:39

    You can't use /workbook against a ListItem, it can only be used with a DriveItem.

    In order to do that, you'll need to first obtain the DriveItem associated with the ListItem:

    /v1.0/sites/{siteid}/lists/{listid}/items/273/driveitem/workbook
    
    0 讨论(0)
提交回复
热议问题