Hi
I'm trying to follow the instructions on retrieving access token in the service 2 service flow:
https://msdn.microsoft.com/en-us/library/azure/dn645543.aspx
(note that the actual instructions are incorrect since it should be grant_type and not response type)
Most of the parameters are straight forward, but for the resource uri I'm using:
https://<tanent-id>-my.sharepoint.com (this worked for the regular authorization grant flow (https://msdn.microsoft.com/en-us/library/azure/dn645542.aspx)).
When trying to perform a read using OneDrive for business Api (https://msdn.microsoft.com/en-us/office/office365/api/files-rest-operations), i'm getting the following error:
{"error_description":"The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs."}
Can someone please help in investigating this?
Thanks