question

Ware-4185 avatar image
0 Votes"
Ware-4185 asked Ware-4185 answered

pictureURL null value

In sharepoint on premise, when using /_api/SP.UserProfiles.PeopleManager/getpropertiesfor(@v)?@v=%27user\domain%27 a few users get pictureURL =null, but they have an image associated to their user profile in sharepoint...

Any idea?

sharepoint-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered MichaelHan-MSFT commented

Hi @Ware-4185 ,

Per my test, the property pictureURL is retrieved from the user profile service. You could go to admin center-> UPS_> manage user profiles, find the users's profile. Check if the property picture exists?

101557-image.png


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (23.8 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes, it exists

0 Votes 0 ·

So the picture exists in the profile, but you could not get it from the rest api?

Please try to remove the picture in the profile and add it again. Then test the result

0 Votes 0 ·
Ware-4185 avatar image
0 Votes"
Ware-4185 answered

I have removed the picture and added it again.
pictureURL is null for this user using the rest api

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.