Forum Discussion
Prevent users to change profil photo
I want to prevent users that they can change the company's profile picture, but I cannot find the solution on the web. I have tried several solutions, but still is the user capable to change the profile photo... What is the best solution for it?
For example: this is not working for me:
- 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,
- Dean_GrossSilver ContributorI am curios, what it the reason for this requirement? A lot of effort has been made by software creators like MS to provide users the ability to personalize the systems that they use many hours a day. Why does a company think that allowing their staff to change a photo is a bad idea?
- MudithaIron Contributor
Hi Dean,
Good question.
One reason as I see is, to maintain a standard across the organization. The photo you're uploading to your social media profile page may not be the most appropriate for your work environment. So, to maintain a standard across the organization, the IT and HR departments can work collaboratively and upload a standardized photo, and then they can disable the ability change the photo by the user to avoid any conflicts.
Although it is true that software vendors create services with many features, specially cloud solutions such as Office 365, they do not make customized versions for individual customer. You may find features you like and features you don't like. But, that doesn't mean you have to use the product with all the features that comes right out of the box. Instead, creators have made it possible for the customer to disable features that they do not want. Also, if there's some feature missing, there's a way of providing your feedback and if there's a high demand, they will implement it. :)
Hope this helps you in some way. :)
Thank you,
Muditha Chathuranga
- John DoleCopper Contributor
Because companies dont want to see pictures or your dog, or your baby, or your favorite football team etc...
- Mmm...Dean, I agree with your comment when we are talking about an enterprise customer or event a government one...but for education (Harry's case) the scenario is a little bit different
- Dean_GrossSilver ContributorJuan, thanks again for providing your perspective. I don't have any Edu clients so I frequently forget about that unique set of use cases. I would expect that allowing kids to change their photos could create a lot of problems and preventing this type of personalization would be desirable.
This is just another example of why MS needs to include more admin controls when they initially deploy services. Providing minimum viable products to gather data could be very misleading because many customers will not even try it out if they can't control it.
- Raymond BooneSteel Contributor
I don't understand why Teams would overwrite the Outlook photo when the policy is set to disallow it. Why even give admins the option to set the policy if the new apps aren't going to respect it. Everything was going swell here until a couple of staff figured this out--now I'm stuck resetting Outlook photos. Yay.
- Arin RoyBrass Contributor
Exactly what we face now. People change photos in Teams and they are synced to Outlook/Echange. Nightmare for Enterprise Customers who set standards for profile photos to have a uniform experience.
- Raymond BooneSteel Contributor
We have a city-wide policy for security reasons...the Office 365 photo and badge photo (that we are all required to wear) must be the same. One group takes the photos so they're consistent. Everyone was onboard. Then Teams came along and changed everything.
:(
- Arin RoyBrass Contributor
And what about https://portal.office.com/userphoto
Did Microsoft simply leave this open with no policy enforcement. I find users simply using this backdoor (let aside Teams) to circumvent all policy restrictions.
This is getting difficult by the day for enterprises that want a policy around the profile photos.
- Raymond BooneSteel Contributor
Wow--had no idea that was there. I just tested and it works fine in my environment--well, it incorrectly allows me to change my photos despite having set O365 to prevent this.
Why do they even let us believe we have any control at all? Sigh.
- AragornIron ContributorChecking if there has been any progress with this? Can Teams and other still override the OWA policy? In this case I suspect it would be better to have a scripted job, perhaps on a weekend to update all photos to keep within corporate guidelines.
- SanthoshB1Bronze ContributorSet-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,
- It could be great to have an Azure AD policy to manage this ^-^
- Harry DuboisBrass Contributor
Thanx Santhosh. So there is no 'tenant-setting' to prevent users from editing their profile photo? Running the same PSscript every month? :-)
- MudithaIron Contributor
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 DuboisBrass ContributorDid not know there was a delay from 60 minutes. Testuser is not enable to change the picture, also not in his 'Delve' profile. Great!
- AragornIron ContributorWe also need a solution for this. I'm now looking into building a custom automation process in azure to run on a weekly basis and overwrite user photos with the company approved photos. Not sure how feasible this? Has anyone done anything similar?
- SebCerazyIron Contributor
- MNicholsCopper Contributor
Just seeking to confirm, is this not possible?
You can prevent it in OWA, however not the rest of the Office 365 portal?
We have a requirement that user's photos are controlled by HR and IT and cannot be changed by users.
It is not ideal to need to regularly reset user's photos via a powershell script if there is no ability to disable the option for users to change their profile photo.
- Raymond BooneSteel Contributor
The problem is that Teams now allows you to change it and that triggers an overwrite for the rest of Office 365--despite any policy you may have set otherwise.
- Diego MartinezCopper Contributor
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- Deleted
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 MartinezCopper ContributorJust try it and let us know if it works, it worked in my side.
> Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoURL $false
- Seth MikkelsenCopper Contributor
Would like an update on this as well.
- AragornIron ContributorHas anyone used Hyperfish - https://www.hyperfish.com/ - wonder if this can help?
- TimAttwellBrass Contributor
Any update on this? We having a major problem with users changing their photos.
- Harry DuboisBrass Contributor
TimAttwell No solution yet. We are using CodeTwo User Photos, but that is only for uploading the photo, it does not prevent users from editing...
- TimAttwellBrass Contributor
Thanks Harry. I'm also using CodeTwo to change the photos, at the moment.