SharePoint Online通过Microsoft Graph搜索Api [英] SharePoint Online Search Api via Microsoft Graph

查看:89
本文介绍了SharePoint Online通过Microsoft Graph搜索Api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过Microsoft Graph Api在SharePoint Online中进行(全文)搜索?


我可以授予权限"Office 365 SharePoint Online - 运行搜索作为用户的查询"在Azure门户中的应用程序注册中。


但我在API文档中找不到此类请求:


https:// developer。 microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/sharepoint


我需要通过oauth发出请求,因为所需的请求是跨域的。


解决方案


根据以下文档,全文搜索仅适用于消息等实体的子集。


https://github.com/microsoftgraph/microsoft-graph-docs/blob/master/concepts/known_issues.md


您可以在下面的uservoice中提交反馈。


https://officespdev.uservoice.com/


作为一种变通方法,您可以按照以下步骤远程访问SharePoint rest api。


https://gallery.technet.microsoft.com/office/SharePoint-在线访问-d224a674


最好的问候,



Is it possible to make a (fulltext) search in SharePoint Online via the Microsoft Graph Api?

I can grant a permission "Office 365 SharePoint Online - Run search queries as a user" in the App registration in the Azure portal.

But I can't find such request in the API doc:

https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/sharepoint

I need to make the request via oauth because the required request is cross domain.

解决方案

Hi,

Based on document below, Full-text search is only available for a subset of entities such as messages.

https://github.com/microsoftgraph/microsoft-graph-docs/blob/master/concepts/known_issues.md

You could submit feedback for this in uservoice below.

https://officespdev.uservoice.com/

As a workaround, you could follow the steps below to access SharePoint rest api remotely.

https://gallery.technet.microsoft.com/office/SharePoint-Online-access-d224a674

Best Regards,

Lee


这篇关于SharePoint Online通过Microsoft Graph搜索Api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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