SharePoint UserPhotos.aspx not showing the latest profile picture immediately

asked 2021-03-16T01:49:46.187+00:00
Rahini Radha (AP) 46 Reputation points

We are using SharePoint "UserPhotos.aspx" page for displaying the user's profile picture in our application like below.

http://domain.com/_layouts/15/userphoto.aspx?size=L&accountname=domainname\username

The problem is, this url doesn't show the latest profile picture uploaded immediately. What we need to do to display the latest the latest profile picture immediately? Please advise.

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,346 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,355 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-03-16T07:36:24.917+00:00
    Allen Xu_MSFT 13,511 Reputation points

    Hi @Rahini Radha (AP) ,

    The user profile picture will be updated after User Profile Change Job timer job runs. Please go to SharePoint Central Administration -> Monitoring -> Review job definitions and then select View: Service and Services: User Profile Service. Select User Profile Service Application - User Profile Change Job.
    78110-timerjob.png

    You can click Run Now if you want to update user profile picture immediately. Also, you can set this timer job scheduled to run every 1 minutes. So that, you don't need to run the timer job manually every time you update the user profile picture.
    78120-schedule.png

    As per my test, browser cache also has impact on the URL return results. You'd better clean browser cache or change a browser when you frequently get pictures from the URL.


    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.