Reputation: 39
GET /users/{id | userPrincipalName}/photo
I am using this graph API to get outlook profile picture it was working perfectly before 30th SEPT Microsoft has shared some known issues:https://learn.microsoft.com/en-us/graph/known-issues#groups
enter image description hereBut some how it has stop working as before I got below error:
Unauthorized: Access is denied due to invalid credentials. You do not have permission to view this directory or page using the credentials that you supplied.
Anyone have any idea about this??
Upvotes: 0
Views: 275
Reputation: 5253
I don't know about before september 30th, but recently I worked on a project and what works for me is the following:
GET /users/{id | userPrincipalName}/photo/$value
Take a look at the official documentation and hope it helps you.
Upvotes: 1