Azure AD B2C Upload Profile image of the user

Muhammad Usman shaikh 66 Reputation points


I want to upload my user profile image to azure ad b2c from graph api and fetch it too through graph api.

Any sample or documentation related to it.

thank you.

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,858 questions
Azure Active Directory External Identities
{count} vote

2 answers

Sort by: Most helpful
  1. James Hamil 14,346 Reputation points Microsoft Employee

    Hi, in B2C you can use these Graph API's. You can try to use the profilePhoto resource type which lets you get/update a photo.
    This may work:


    If this answer helped you, please mark it as "Verified" so other users may reference it.

    Thank you,

  2. Nitin Gupta 0 Reputation points

    Microsoft Azure AD B2C currently doesn't handle profile pictures gracefully and there is a bug reported.

    Also, Microsoft retired Azure AD Graph API and migrating to Microsoft Graph API, the associated graph API endpoint is currently not supported for profile pictures.

    So there is no solution to store profile pictures in Azure ADB2C as of now.

    This is quite disappointing.

    0 comments No comments