Graph Excel REST API-Azure AD 2.0端点-OneDrive个人支持吗? [英] Graph Excel REST API - Azure AD 2.0 Endpoint - Is OneDrive Personal Supported?

查看:70
本文介绍了Graph Excel REST API-Azure AD 2.0端点-OneDrive个人支持吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Microsoft Graph REST API访问/操作存储在OneDrive Personal中的Excel工作簿. 我可以访问/操作存储在OneDrive for Business中的Excel工作簿.

I would like to access/manipulate Excel workbooks stored in OneDrive Personal using the Microsoft Graph REST API. I am able to access/manipulate Excel workbooks stored in OneDrive for Business.

我能够验证我的OneDrive个人帐户(获取访问令牌,权限范围等),并且能够执行其他(与Excel无关的)Graph REST操作,例如查看文件属性.

I am able to authenticate my OneDrive Personal account (get access tokens, permission scopes, etc.) and I am able to do other (non-Excel-related) Graph REST operations, such as view file properties.

Microsoft Graph Explorer https://graph.microsoft.io/en-us /graph-explorer#仅支持OneDrive for Business(不支持OneDrive Personal).

The Microsoft Graph Explorer https://graph.microsoft.io/en-us/graph-explorer# only supports OneDrive for Business (not OneDrive Personal).

此处 https://graph.microsoft .io/en-us/docs/api-reference/v1.0/resources/excel ,它显示"...读取和修改存储在OneDrive,SharePoint或其他受支持的存储平台中的Excel工作簿".他们真的是指"OneDrive for Business"吗?

Here https://graph.microsoft.io/en-us/docs/api-reference/v1.0/resources/excel, it says "…read and modify Excel workbooks stored in OneDrive, SharePoint, or other supported storage platforms". Could they really mean "OneDrive for Business"?

当我尝试访问与Excel工作簿相关的任何内容(在OneDrive Personal上),例如:

When I try to access anything Excel-workbook-related (on OneDrive Personal), such as:

POST /{version}/me/drive/items/01CYZLFJGUJ7JHBSZDFZFL25KSZGQTVAUN/workbook/createSession

它总是返回MethodNotAllowed:

It always returns MethodNotAllowed:

{"error": {"code": "MethodNotAllowed","message": "Method not allowed.","innerError": { "request-id": "9c1d81ec-4300-4e8b-b453-82cd6caca00e", "date": "2016-10-19T01:25:20"} } }

我尝试了{version} v1.0和beta版.

I tried {version} v1.0 and beta.

Graph Excel REST API是否支持OneDrive Personal?如果没有,什么时候可以呢?我找不到与此有关的任何文档. 我意识到Graph是最近才开始通过Azure AD 2.0 Endpoint支持OneDrive Personal,所以也许在支持Excel方面只是一个延迟?

Does the Graph Excel REST API support OneDrive Personal? If not, when might it? I can't find any documentation on this. I realize Graph just recently started supporting OneDrive Personal via Azure AD 2.0 Endpoint, so perhaps there's just a delay in supporting Excel?

推荐答案

目前无法使用OneDrive Personal中的工作簿访问Excel REST API的功能.我们正在努力在不久的将来实现这一目标.

The functionality to access Excel REST API on workbooks in OneDrive personal is not available at the moment. We are working on enabling this in the near future.

这篇关于Graph Excel REST API-Azure AD 2.0端点-OneDrive个人支持吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆