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,
Thanx Santhosh. So there is no 'tenant-setting' to prevent users from editing their profile photo? Running the same PSscript every month? :-)
- MudithaSep 29, 2016MCT
Hi Harry,
You do not need to keep doing this every month. :)
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.
If you want to disable the feature for a specific set of users, then you can create a new Outlook Web App Policy, assign it to those who you wish to disable this feature, and then run the command as below.
Get-OwaMailboxPolicy -Identity "OWAPolicy_Name" | Set-OwaMailboxPolicy -SetPhotoEnabled $false
Thank you.
Muditha Chathuranga
- Harry DuboisSep 29, 2016Brass ContributorThanx Muditha for this additional information!