pictureURL null value

Ware 21 Reputation points
2021-06-01T11:10:46.92+00:00

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 Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,784 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points
    2021-06-02T05:41:52.2+00:00

    Hi @Ware ,

    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.


  2. Ware 21 Reputation points
    2021-06-02T07:04:19.4+00:00

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

    0 comments No comments