[英]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?无论如何要从搜索响应中排除这些网站?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.