Getting ErrorNonExistentMailbox when trying to get profile photo

Copper Contributor

I'm trying to get photos via https://graph.microsoft.com/v1.0/users/person@email.com/photo/$value, but am getting the following error:

{\r\n  "error": {\r\n    "code": "ErrorNonExistentMailbox",\r\n    "message": "No mailbox was found that includes the specified identity: person@email.com.",\r\n    "innerError": {\r\n      "request-id": "bf45136b-f047-4cb1-b95a-17fe07a160be",\r\n      "date": "2018-06-04T02:15:18"\r\n    }\r\n  }\r\n}

 

 

The person has an Outlook mailbox. Any help would be greatly appreciated. Thanks!

 

 

0 Replies