Microsoft Graph API Resource not found when access workbook of onedrive

僤鯓⒐⒋嵵緔 提交于 2019-12-21 22:54:06

问题


I'm building a application that connects to OneDrive for personal Microsoft account via the Graph API.My goal is to make a application from that i can access ondrive workbook content.

For reference document i am using this document : https://graph.microsoft.io/en-us/docs/api-reference/beta/resources/excel

here i have 2 questions:

Que 1:

https://graph.microsoft.com/{version}/me/drive/items/{id}/workbook/

for this link i am using v1.0 for {version} and for {id} i am using "7FA7C48C26BC284B!114" this. it is Excel workbook id.

is it correct?

Que 2:

i see in the example from the same page /{version}/me/drive/items/01CYZLFJGUJ7JHBSZDFZFL25KSZGQTVAUN/workbook/

this long id: "01CYZLFJGUJ7JHBSZDFZFL25KSZGQTVAUN"

but i did not get this much long id from any response. is it the issue for recourse not fount error?

please help me to solve this.


回答1:


Excel REST API is currently not available for consumer/personal accounts. We are working on enabling this in the near future. In the meantime it is available for files in OneDrive for Business and SharePoint.



来源:https://stackoverflow.com/questions/42408512/microsoft-graph-api-resource-not-found-when-access-workbook-of-onedrive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!