#StackBounty: #microsoft-graph-api Microsoft Graph API – MailboxNotEnabledForRESTAPI 404 error on beta/users/{id}/photo

Bounty: 50

I am trying to fetch users profile photo using the beta endpoint beta/users/{id}/photo of the Microsoft Graph API
but I get a 404 MailboxNotEnabledForRESTAPI error

  error: {
    code: 'MailboxNotEnabledForRESTAPI',
    message: 'REST API is not yet supported for this mailbox.'

The error does not make sense because I am trying to access Azure Ad profile picture which should not have anything to do with mailbox.

Would anyone know if I am missing something?

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.