Jump to content

Recommended Posts

Posted

This feature is part of the Outlook Web App Policies. Depending on if you have created more of these for different user groups you will need to do something like this in Powershell. You can find out what you have in the Exchange Admin centre under Permissions --> Outlook Web App Policies. By default you will just have the OwaMailboxPolicy-Default policy

 

Set-OwaMailboxPolicy -Identity  -DisplayPhotosEnabled $false

Set-OwaMailboxPolicy -Identity   -SetPhotoEnabled $false

 

Also you can remove any currently used pictures with this:

 

Remove-UserPhoto -Identity 

 

There is probably a way to remove it for everyone using a piped command but the above line will work for individuals.

  • 4 years later...
Posted

Just to add to this thread how to remove photos for all users as I needed to do this today. From Exchange PS run

 

$users = Get-ADGroupMember -identity "#ad group name here#" -Recursive

foreach ($user in $Users) {Remove-UserPhoto -Identity $user.SamAccountName -Confirm:$false}

 

Just replace #ad group name here# with the name of a group that your users are a member of. I did it in two hits with our 'pupils' and 'staff' groups.

 

Hope this helps!

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