Office 365 Prevent User to Change Profile Picture

My company staff is frequently changing the their Profile picture at the beginning my management was fine with it. But now they have asked me to take over the access and maintain similar pictures.

So, what will be the best practice to prevent it??


Set-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,

1 Like

Hi @sharif5209,

I suggested NOT to overwrite any existing policy If you want to disable the feature for a specific set of users, then you can create a new Outlook Web App Policy and assign it to those who you wish to disable this feature, and then run the command as @umer has suggested.

When you run Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoEnabled $false without defining an Outlook Web App Policy by using -Identity parameter, it disables the feature for all Outlook Web App Policies in your tenant. Including the default Outlook Web Access Policy.

Get-OwaMailboxPolicy -Identity “OWAPolicy_Name” | Set-OwaMailboxPolicy -SetPhotoEnabled $false



I just to share that user pictures in Office 365 are controlled entirely via online Exchange. Changing the OWA policy should prevent users from changing their picture via any method, even if they don’t have a mailbox.


I followed this step long ago, but today I have found one of my users seems to have changed his profile image. While confirming I found out he has changed his profile image through Microsoft Team.

Does this setting not apply for Microsoft Team?? I thing Microsoft Team is overight this permission for Office 365 setting