Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPO graph API is deprecated in My Recent Documents Web part #916

Closed
dips365 opened this issue Jul 14, 2019 · 1 comment
Closed

SPO graph API is deprecated in My Recent Documents Web part #916

dips365 opened this issue Jul 14, 2019 · 1 comment

Comments

@dips365
Copy link
Contributor

dips365 commented Jul 14, 2019

I have created a webpart to show the recent documents from only one sharepoint site.
i am using office graph api.

i found below message while sending the query in browser.

Query using as below.

https://tenent.sharepoint.com/sites/DevSite/_api/search/query?querytext='*' &properties='GraphQuery:actor(me\,or(action\:1001\,action\:1003)), GraphRankingModel:{"features"\:[{"function"\:"EdgeTime"}]}' &selectproperties='Author,AuthorOwsUser,DocId,DocumentPreviewMetadata,Edges,EditorOwsUser, FileExtension,FileType,HitHighlightedProperties,HitHighlightedSummary,LastModifiedTime, LikeCountLifetime,ListID,ListItemID,OriginalPath,Path,Rank,SPWebUrl,SecondaryFileExtension, ServerRedirectedURL,SiteTitle,Title,ViewCountLifetime,siteID,uniqueID,webID'&rowlimit=2 &ClientType='MyRecentDocuments'&RankingModelId='0c77ded8-c3ef-466d-929d-905670ea1d72'

<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <m:code> -1, Microsoft.Office.Server.Search.REST.SearchServiceException </m:code> <m:message xml:lang="en-US">SPO graph API is deprecated.</m:message> </m:error>

So it is clearly shows that api is not longer available.

What will be workaround for this?

@ghost
Copy link

ghost commented Jul 14, 2019

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Jul 14, 2019
@dips365 dips365 closed this as completed Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant