Forum Discussion
Prevent users to change profil photo
- Sep 28, 2016Set-OWAMailboxPolicy applies only for OWA and users can able to change their photos from other O365 services. Also this policy will take effect after 60 minutes,
Try with this one > Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoURL $false
You'll disable the users the option to search and choose the photo they want to upload.
Of course, after apply the already known Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoEnabled $false
Hi Diego,
Thanks for your answer. Could you please tell me more about the SetPhotoURL parameter?
It seems it's a String type of value, not Boolean.
Also, I'm note sure that this command will prevent users from uploading their photo in Teams.
- Diego MartinezSep 10, 2018Copper ContributorJust try it and let us know if it works, it worked in my side.
> Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoURL $false- Raymond BooneSep 10, 2018Iron Contributor
We set this long ago here and it's never prevented us from using Teams to change the photo. It does prevent changing the photo from other Office 365 apps.
- James GanttOct 11, 2018Copper Contributor
I also used that setting last year and it still allows them to change it. I opened a ticket with MS support and they admitted that it couldn't be locked down but they were looking into a solution. That was about 7 months ago now. I never heard anything else from them.