How to upload photo into Azure AD User profile

Tomáš Růt 1 Reputation point

I have Azure AD Free with registered application and everything around authentication seems to be working. I have registered users and I can change their information like name, surname etc. I am also able to do authentication in React APP and in Azure Functions.
Unfortunately, I am not able to change user's photos.

In portal I can successfully upload photo, but after save I get messages:

Unable to save user photo. If this user is newly created, please try again in an hour.
Unable to update user profile.

The User is created longer than a week....

If I try Graph API$value with provided Bearer token:

GET: Exception of type 'Microsoft.Fast.Profile.Core.Exception.ImageNotFoundException' was thrown. - this is expected... there is no photo
PUT: "message": "{\r\n \"errorCode\": \"ErrorUserResolutionFailedUserDoesNotExist\",\r\n \"message\": \"Exception of type 'Microsoft.Fast.Profile.Core.Exception.ProfileNotFoundException' was thrown.\",\r\n \"target\": null,\r\n \"details\": null,\r\n \"innerError\": null,\r\n \"instanceAnnotations\": []\r\n}",

It is not just my case, we have reproduced it on few another AAD.

What can be wrong?
Is there anything specific I have to allow on the AAD or on accounts?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,895 questions
Microsoft Graph Profile API
Microsoft Graph Profile API
A Microsoft API that retrieves the profile of the signed-in user or another user with a valid Azure AD or Microsoft account.
106 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tomáš Růt 1 Reputation point

    It started to work without any activity from my side.
    Thanks for replies

    0 comments No comments