I'm trying to do a query - https://graph.microsoft.com/v1.0/users/user.name@contoso.com/messages?$select=from,toRecipients,ccRecipients,bccRecipients on GRAPH Explorer - https://developer.microsoft.com/en-us/graph/graph-explorer#.
But I'm getting an Access Denied error - Failure - Status Code 403, 522ms Looks like you may not have the permissions for this call. Please modify your permissions.
I've already checked all the available permissions from Microsoft Graph Explorer.
https://graph.microsoft.com/v1.0/users/user.name@contoso.com/messages?$select=from,toRecipients,ccRecipients,bccRecipients
Failure - Status Code 403, 522ms Looks like you may not have the permissions for this call. Please modify your permissions.
{ "error": { "code": "ErrorAccessDenied", "message": "Access is denied. Check credentials and try again.", "innerError": { "request-id": "83a65052-d66c-4b26-a272-dd99cb84be76", "date": "2019-06-24T18:02:45" } } }
me
reference and work with your own account or you have to go through the process of generating a valid token, adding to the headers, etc. and then using it. Personally I'd rather look at the docs and work viapostman
– ivanivan