Updating SharePoint Online user profile photo using Powershell

George Thomas 1 Reputation point
2020-07-28T14:02:19.64+00:00

In O365, i understand that SP Online user profile photo and Delve photos gets synced from Exchange Online.

Is there any way I can directly update SharePoint Online user profile photo and delve photo using Powershell?

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,578 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 108.2K Reputation points MVP
    2020-07-28T16:26:00.787+00:00

    Not directly via SPO PowerShell, as it is limited to "site" operations. Using the PnP module or CSOM would do, or you can use a tool such as this one: https://github.com/pnp/PnP/tree/master/Samples/Core.ProfilePictureUploader

    0 comments No comments

  2. Joyce Shen - MSFT 16,671 Reputation points
    2020-07-29T02:25:23.173+00:00

    Agree with the reply above, you may also refer to the discussion in below related threads:

    Profile Photo Sync SPO

    SharePoint Online User Photo Sync

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.