locked
[Microsoft Graph] How can I show a profile picture of a Microsoft account user RRS feed

All replies

  • You'll be better off asking Microsoft Graph questions in a forum Microsoft Graph specialists watch. See https://developer.microsoft.com/en-us/graph/support
    Saturday, January 12, 2019 7:17 PM
  • Hi,

    Please find this article :"

    Displaying and updating your Office 365 profile picture with Microsoft Graph API

    https://delucagiuliano.com/displaying-your-office-365-profile-picture-with-microsoft-graph-api/#.XDpAttVKiHs

    <o:p></o:p>

        auth: {
            bearer: token
        }, encoding: null,
    }, function (err, response, body) {
        if (err) {
            reject(err);
        } else if (body.error) {
            reject(body.error.message);
        } else {
            // The value of the body will be an array.
            resolve(body);
        }
    });

    Saturday, January 12, 2019 7:40 PM
  • Unfortunately this doesn't work. As I said in my opening post, this is not yet supported for a personal account.

    I found that there is a beta version which works, so I hope that a new version will be released before I finish my app:

    https://graph.microsoft.com/beta/me/photo/$value


    Unfortunately it is a beta since 2017 so Microsoft... please release it...
    Saturday, January 12, 2019 7:51 PM