在 ms 图表中搜索我的 onedrive returns invalidRequest
Search my onedrive returns invalidRequest in ms graph
这是图形资源管理器中的示例查询:
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=name,id,webUrl
当前 https://graph.microsoft.com/v1.0/me/drive/root/search seems to fail both in my own tenant as well as in microsofts test tenant. I am under the impression that the demo queries are supposed to always work in the test tenant (https://developer.microsoft.com/en-us/graph/graph-explorer - 不要登录,使用示例数据)。这让我相信目前ms graph中的这个函数存在一个普遍的问题。
还有其他人遇到同样的问题吗?
我应该使用不同的方法来搜索 onedrive 吗?
原来的查询在上周五之前都运行良好,但似乎仍然有问题。
但一个可行的解决方法是使用:
https://graph.microsoft.com/v1.0/users/<userId>/drive/root/search(q='finance')?select=name,id,webUrl
似乎无需更改应用程序的 api 权限即可运行,因此暂时没问题。
这是图形资源管理器中的示例查询:
https://graph.microsoft.com/v1.0/me/drive/root/search(q='finance')?select=name,id,webUrl
当前 https://graph.microsoft.com/v1.0/me/drive/root/search seems to fail both in my own tenant as well as in microsofts test tenant. I am under the impression that the demo queries are supposed to always work in the test tenant (https://developer.microsoft.com/en-us/graph/graph-explorer - 不要登录,使用示例数据)。这让我相信目前ms graph中的这个函数存在一个普遍的问题。
还有其他人遇到同样的问题吗? 我应该使用不同的方法来搜索 onedrive 吗?
原来的查询在上周五之前都运行良好,但似乎仍然有问题。
但一个可行的解决方法是使用:
https://graph.microsoft.com/v1.0/users/<userId>/drive/root/search(q='finance')?select=name,id,webUrl
似乎无需更改应用程序的 api 权限即可运行,因此暂时没问题。