Hello @Martin Conroy ,
Thanks for reaching out!
If you're using the Microsoft Graph API, you can set a user's profile photo using base64-encoded image data by making a PATCH request to the user's profile photo endpoint (/me/photo/$value
or /users/{id|userPrincipalName}/photo/$value
).
Note: The image data must be base64-encoded and in one of the supported formats (JPEG, PNG, GIF, BMP). If you're still encountering errors, double-check that the image data is valid and that you have the correct permissions to set the user's profile photo.