Building an android application to log in users to their outlook accounts and get their calendar events on their behalf.
We followed this tutorial and integrated this into the android application: https://github.com/Azure-Samples/active-directory-android
We successfully received an access token. now we are testing it with the API call we are interested in - https://outlook.office.com/api/v2.0/me/calendarview?startdatetime=2016-06-01T00:00:00Z&enddatetime=2016-06-02T00:00:00Z - for the users added in the same domain - (these are already added to the current tenant). We are getting a unexpected response when testing it out in the oAuth sandbox. PLEASE SEE ATTACHED SCREENSHOT.
What am I doing wrong? why am I not able to call the get calendar events API for the users?