简体   繁体   English

SharePoint 站点搜索使用 Microsoft Graph api 返回已删除的站点

[英]SharePoint sites search using Microsoft Graph api returns deleted sites

When I do a search for SharePoint online sites using Microsoft graph endpoint https://graph.microsoft.com/v1.0/sites?search=* , it returns very old deleted sites along with active sites in SharePoint admin centre.当我使用 Microsoft 图形端点https://graph.microsoft.com/v1.0/sites?search=*搜索 SharePoint 在线站点时,它返回非常旧的已删除站点以及 Z97F02F3993B93732B46centerDFE 中的活动站点These deleted sites are not in 'Deleted sites' of SharePoint admin centre.这些已删除的站点不在 SharePoint 管理中心的“已删除站点”中。 When I've accessed these sites in SharePoint online using the site URL provided by the graph search api, it gives '404 NOT FOUND'.当我使用图形搜索 api 提供的站点 URL 在线访问 SharePoint 中的这些站点时,它给出了“404 NOT FOUND”。 When I've accessed the site using graph api GET /sites/{site-id} , it gives 'itemNotFound' error.当我使用图形 api GET /sites/{site-id}访问该站点时,它会给出“itemNotFound”错误。 Is there anyway to exclude these sites from the search response?无论如何要从搜索响应中排除这些网站?

We don't currently have a way to do this in the Graph APIs.我们目前没有办法在 Graph API 中执行此操作。 I would suggest going to User Voice here and putting the request there so it makes its way onto our backlog.我建议在这里访问用户语音并将请求放在那里,以便它进入我们的积压工作。

Thanks!谢谢!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM