How to get user photo in JavaScript using Graph API?

Deleted
Not applicable

When a GET(https://graph.microsoft.com/v1.0/users/ {{user_id}} /photo/$value) request is made, the response data will be written with the same characters as this image. After converting to base64, I tried blob format but the picture does not appear.



image erro.png

 

0 Replies