What kind of account do you have, are you using OrgID or MSA, do you have a mailbox enabled for said account and where is the mailbox located? Also are you saying that the call works on Graph explorer but not on Postman?
Getting "MailboxNotEnabledForRESTAPI" while trying to use MS Graph API on Postman

I'm a beginner with MS Graph,
After a few days trying to use MS Graph API on Postman, following this guide https://learn.microsoft.com/en-us/graph/use-postman
At first I got "OrganizationFromTenantGuidNotFound" when trying to call "https://graph.microsoft.com/v1.0/me/messages" or the events endpoint
So yesterday I started to get
And I didn't changed a thing, so I'm unsure of what I'm doing wrong
I can access some endpoints, like "https://graph.microsoft.com/v1.0/me" and "https://graph.microsoft.com/v1.0/users", but I need to call the events endpoint
Besides, I can make all the calls normally with MS Graph Explorer and using MS Graph Explorer token on postman too
I would be very grateful if someone could point me to the right direction.
3 answers
Sort by: Most helpful
-
-
João Pimentel 1 Reputation point
2021-02-19T16:09:59.427+00:00 I have the following permissions with admin consent on my azure portal
I shouldn't get events results, but I think it should be enough to get mails on delegated request
Also, when I copy Graph explorer token and paste on postman, it works fine -
João Pimentel 1 Reputation point
2021-02-19T20:14:29.48+00:00 I don't know which information about the token I can post here or not, but I believe that these are the scope infos that came with my token, so it appears to be right
"scp": "Mail.Read Mail.ReadBasic User.Read profile openid email"
I tried also, to check MS Graph explorer token on this both jwt.ms and jwt.io, but in any of then, they decodified any info