Unable to add a photo to the Azure User Profile.

Signature Adjustment Group 16 Reputation points

I just added a new Azure User, and they have logged into their email. However, I'm unable to upload a photo to their director. It's coming back with an error message, even though it's the exact same photo that I uploaded about a dozen times earlier. Please help. Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,865 questions
{count} vote

4 answers

Sort by: Most helpful
  1. JimmySalian-2011 41,931 Reputation points


    Yes you can contact local number over here and also raise a Microsoft Ticket.

    Contact Info


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

  2. JamesTran-MSFT 36,481 Reputation points Microsoft Employee

    @Signature Adjustment Group
    Thank you for your post!

    From your conversation with @JimmySalian-2011 , it looks like you're having issues uploading a profile picture to Azure from Azure Active Directory, using the drag and drop method. Additionally, you added a new user with a new license, and it's allowing you to upload the photo for them. However, the user you're having issues with still won't allow you to upload the photo.

    • Is this user sync'd from on-prem?
    • Can you share some screenshots of what you're seeing and how you're trying to change the user's photo?


    If you have a hybrid deployment of on-premises Microsoft Exchange Server and Exchange Online in Microsoft 365. Profile photos are synced only once from Azure AD to Exchange Online, after which Exchange Online becomes the source of authority for this attribute and any later changes can't be synced from on-premises.


    The thumbnailPhoto attribute can store a user photo as large as 100 kilobytes (KB).
    Exchange Online accepts only a photo that's no larger than 10 KB from Azure AD.

    To resolve your issue, you can use the Outlook on the web to change the user's photo or the Set-UserPhoto cmdlet. These methods enable you to upload a photo that's as large as 500 KB.

    Additional Links:
    User photos aren't synced from the on-premises environment to Exchange Online in a hybrid deployment
    Add or update a user's profile information using Azure Active Directory
    Exchange Online Sync Attributes

    I hope this helps!

    Thank you for your time and patience throughout this issue.


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

  3. ladiesman227-6936 0 Reputation points

    Make sure your image isn't too large. I can't locate any documented maximums, but it would only take my 3 user portraits if they were JPEG (might not be a requirement) and <5MB (wouldn't upload above 5MB.)

    Had the same thing happen to me and came across this post. What JamesTran said about the 500KB got me thinking. My Azure portal repeatedly output "Failure uploading user profile photo for undefined" on my profile photos. My marketing dept sent me these portraits at 240ppi like we're making a 100ft memorial banner for them. Once I shrunk the photo to 1080p wide and 72ppi, I was able to upload. I did this by changing image size in MacOS's Preview.app. I'm sure Windows has a similar function with a built-in tool.

    P.S. Microsoft - Please add another C to "Sucessfully uploaded user profile photo for undefined"

    0 comments No comments

  4. EAY 0 Reputation points

    Switch from Chrome to Edge and it will work.

    0 comments No comments