Jump to content

Stop O365 users changing profile photo and set a global one for all users.


Recommended Posts

Posted

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.

Posted

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.

  • Thanks 1
  • 2 years later...
Posted

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

Posted
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

Salamander 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.
Posted

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

Posted

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.

Posted (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 :rolleyes2: :smokin: Edited by Planehazza
Posted

Have you updated your OWAMailbox policy via Powershell to stop users from being able to change their avatar?

 

Set-OwaMailboxPolicy -SetPhotoEnabled $false

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...