IT_Man_Dan Posted February 21, 2019 Posted February 21, 2019 Dear all, It's been a while since I've posted but I hope you are all well. I've recently started a new post and am trying to do some housekeeping etc. I've noticed that users have been allowed to update their O365 profile photos and many have done so which is creating a very unprofessional image of the school. I've just logged in and updated the default role assignment policy in the exchange admin center so that users can't edit their own contact or profile information, am I right in thinking this should stop them being able to upload their own photo in future? Also, I'm about to look into it myself but was wondering if whether to save me the hassle anyone knows the correct way to set a global profile photo in O365 for all current and future users. Many thanks Kind Regards.
p858snake Posted February 22, 2019 Posted February 22, 2019 From vague memories in another thread you couldn't do defaults. But you should be able to do a nightly powershell script to alter everyones I guess to a set standard. 1
IT_Man_Dan Posted January 25, 2022 Author Posted January 25, 2022 Sorry to resurrect my old post but I put this on a real back burner. Does anyone have a simple PowerShell script (or can you point me in the right direction) that I can set to run nightly to set all user photos in our O365 to the default school logo that I specify? Thanks
TechMonkey Posted January 25, 2022 Posted January 25, 2022 Sorry to resurrect my old post but I put this on a real back burner. Does anyone have a simple PowerShell script (or can you point me in the right direction) that I can set to run nightly to set all user photos in our O365 to the default school logo that I specify? Thanks Not found this? https://www.codetwo.com/admins-blog/prevent-users-from-changing-profile-photos-microsoft-365/ 1
colly72 Posted January 25, 2022 Posted January 25, 2022 Not found this? https://www.codetwo.com/admins-blog/prevent-users-from-changing-profile-photos-microsoft-365/ We use the free photo management CodeTwo utility contained in this page (https://www.codetwo.com/freeware/user-photos-for-office-365/), which allows you to manage this centrally. Works pretty well for us. 3
sjatkn Posted January 25, 2022 Posted January 25, 2022 Sorry to resurrect my old post but I put this on a real back burner. Does anyone have a simple PowerShell script (or can you point me in the right direction) that I can set to run nightly to set all user photos in our O365 to the default school logo that I specify? ThanksSalamander can do this for those using it to sync the MIS to AD/M365. Just contact support and they will set it up for you.
3s-gtech Posted January 25, 2022 Posted January 25, 2022 I’ve just used CodeTwo’s tool, deleted any that had been set, and double checked I had the Outlook and Sharepoint settings done. The tool is great.
IT_Man_Dan Posted January 27, 2022 Author Posted January 27, 2022 Thanks for the replies. I've changed the settings so that users can't edit their own photos and I've installed the recommended software which looks great for removing existing photos and matching/importing user specific photos but I'm having trouble seeing how I can use it to set all users photos to one single image of the school Logo? I can select all users easily but then it will only allow me to match the image to one user at a time on the 'match photos' page and once matched it's not available to match to others. Any ideas or advice would be appreciated. Thank you
TechMonkey Posted January 27, 2022 Posted January 27, 2022 Powershell would be my port of call. Either export a list of all users or loop through all of them. If you are really keen make it loop through a chosen group and set for each of the members. Set-UserPhoto seems to be the main command and then that propagates it to Azure AD.
Planehazza Posted February 1, 2022 Posted February 1, 2022 (edited) This 'behaviour issue' has cropped up a few times. There's no easy way to block it, as there are multiple avenues users can adjust their photo. We have changed numerous settings, but there are still some ways they can change it. It might be worth us electing to do the nightly change also (we have salamander and cloud design box), but alas it won't prevent students changing it. It might demotivate them to fiddle when they see it resetting every morning Edited February 1, 2022 by Planehazza
Boredguy Posted February 1, 2022 Posted February 1, 2022 Have you updated your OWAMailbox policy via Powershell to stop users from being able to change their avatar? Set-OwaMailboxPolicy -SetPhotoEnabled $false
Planehazza Posted February 1, 2022 Posted February 1, 2022 Yes, but there are multiple other ways they can change it; that powershell cmdlet alone won't stop it. They can do it in Teams, OneDrive, Delve etc.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now