karldenton Posted September 4, 2018 Posted September 4, 2018 Hi Does anyone know a setting / powershell please to prevent staff changing their Office 365 photo? We set them using the staff photos taken officially but some have decided to change them to social media photos ! Thanks
Steve21 Posted September 4, 2018 Posted September 4, 2018 You need to do it based on the group policies, but this can take a few hours to apply and then you'd need to re-sync the photos over the top. Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoEnabled $false (That's for all policies, else do the -identity "name" of which policy etc) Steve 1
karldenton Posted September 4, 2018 Author Posted September 4, 2018 Thanks Steve, do you mean the photos need to be set in AD and then synced? If you turn off that policy is there then no option for admins to set them via 365? Thanks
Steve21 Posted September 5, 2018 Posted September 5, 2018 Depending how you're first syncing them I mean, for example we sync from AD with Salamander. If you're manually setting them you can do that still you just need to ensure the admin accounts aren't in the mailbox policy that's being applied (e.g. not to "all staff" or whatever your mailbox policies are) Steve
10101010 Posted September 13, 2018 Posted September 13, 2018 I thought that script only worked for preventing the user changing the photo in outlook profile and not in the office 365 account profile?
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