question

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 asked emilyhua-msft edited

profile pic

Hi All

One of my user is facing issue with profile pic so i have uploaded the pic using the below syntax. it worked in outlook and owa but on mobile client still its not reflecting.
Experts guide me on this. is jpg format supported.
Set-UserPhoto -Identity user1@contoso.com -PictureData ([System.IO.File]::ReadAllBytes("C:\temp\user.jpg"))

office-exchange-server-administrationoffice-exchange-online-itpro
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.

1 Answer

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

Hi @RisingFlight-7863

Jpg format is supported for the command

78542-qa-2021-03-17-10-56-37.png


According to my research, the issue may be related to the cache in mobile client, try letting the user log out then log back in the app to verify the result again. Or you may try restarting it so it updates cache.

It may take some time to sync the data, but it will eventually take effect.


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
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.

Do png format support?

0 Votes 0 ·

Hi

Yes png format is support, the photo needs to be smaller than 4 MB and can be a .png, jpg, or .gif file.

Add your profile photo to Microsoft 365


0 Votes 0 ·