Forum Discussion
Harry Dubois
Sep 28, 2016Brass Contributor
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,
46 Replies
Sort By
- Microsoft changed the way that user photos are updated recently (Graph SDK is used now). Here's information about the change including a pointer to a script to update user photos from a central store: https://office365itpros.com/2023/10/09/user-photo-cmdlets/ What apps are causing a problem for you?
- 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
- 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.
- AragornIron ContributorHas anyone used Hyperfish - https://www.hyperfish.com/ - wonder if this can help?
- Seth MikkelsenCopper Contributor
Would like an update on this as well.
- 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.
- 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
- 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.
- 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.
:(
- 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?
- Mark_WebbCopper Contributor
Dean_Gross Standards. We have users that have been uploading goofy pictures, replacing their professional pictures.
- Gilbert ReinhardtCopper Contributor
Users perception vs Company perception of a professional photo to promote the company image is a good example.
- FromelardSteel Contributor
Dear Dean,
This question is also opened in our case, and finally we let the Picture profile management to the Users himself but encouraging to respect some HR policy (not place picture of someone else like baby, not place to much holidays pictures, not place logo pictures, etc. ...).
Another case, i can see is to let only one place managing the user profile picture which could be the internal HRIS Application. This is the high level point in our company when the deployment application will be done globally (more than 120 countries and more than 80'000 concerned).
So anyway, i think it could be anyway better to educate the user to explain them what is acceptable and what is not, than block them.
Fab