I want to access a shared mailbox via Microsoft Graph. What I found so far to access a shared mailbox is the following GET request: "https://graph.microsoft.com/v1.0/users/{sharedmailboxmailaddress}/messages"
As a respond I get:
"error": {
"code": "ErrorAccessDenied",
"message": "Access is denied. Check credentials and try again.",
"innerError": {
"date": "2020-08-31T10:12:28",
"request-id": "1346f752-1041-495e-b880-375c6011aa8a"
}
}
My user has full access to this shared mailbox - e.g. I can read/write the mailbox in Outlook. To consent the permission (modify permissions) is not an option because I am not an admin of the organization - I think I would need the permission "Mail.ReadWrite.Shared".
Is there a way without consenting the permission because my user has full access to the shared mailbox? There has to be a way to access the mailbox, without having admin permissions in the organization?
I am looking forward to read an answer :) Thanks
