Getting {"error":{"code":"generalException","message":"General exception while processing"}} while trying to run the GET one drives end point on https://<tenant> RRS feed

  • Question

  • Hey everyone,

            I am trying to get the REST queries to work with the sharepoint end points instead of graph end points. I first created an app with relevant permissions and have given it the admin consent. Then I am hitting the<tenant> end point with https://<tenant> as resource. I am then using the access token retrieved to give the rest call to https://<tenant>!3indYSbqZ0-hVSPnCgIZy-2xDMh7jH9AuQnEzJMc6TEfQoSJvJT-R6tT0lFBQiPr/root/delta but it is failing with "error":{"code":"generalException","message":"General exception while processing"}}. The REST response code is 401 Unauthorized. I have filed a Microsoft support ticket but they have asked me to post on these forms. Can someone please help me with this? I am not able to move forward because the error is pretty generic and doesn't give any additional details.


    Sai Kiran Katuri.

    Thursday, August 15, 2019 5:36 PM

All replies

  • I was able to solve this by retrieving an access token from an Azure AD app through certificate instead of a client secret key. It seems like to access Sharepoint direct APIs, we should use certificates to fetch the access tokens.
    Friday, August 23, 2019 2:10 AM