0

I want to develop a customized interface like delve. I am trying to call data using microsoft graph. I am able to get all recent flies for me but unable to get for others onedrive, even using SPFX app.

https://graph.microsoft.com/v1.0/me/drive/recent

I get the result for that.

https://graph.microsoft.com/v1.0/users/upn@domain.onmicrosoft.com/drive/

I get the result for this as well.

https://graph.microsoft.com/v1.0/users/upn@domain.onmicrosoft.com/drive/recent

I Get access denied for this with below mentioned error.

{ "error": { "code": "accessDenied", "message": "You can only call view.recent on a drive you own.", "innerError": { "request-id": "c9ecc2a1-71db-4ea6-9c7f-51e65de1ef0d", "date": "2019-03-04T11:38:48" } } }

I want to create a delve like interface with all recent files worked by a user.

  • what permissions have you given to your app ? – Gautam Sheth Mar 4 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.