SOLVED

User photos in O365

%3CLINGO-SUB%20id%3D%22lingo-sub-729395%22%20slang%3D%22en-US%22%3EUser%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-729395%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20'best%20way'%20to%20get%20all%20the%20users%20photo%20%22uploaded%22%20to%20O365%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsers%20mails%20are%20not%20moved%2Fpresent%20in%20EXO%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3ELooked%2Ftried%20CodeTwo%20-%20but%20getting%20permission%20error%3A%26nbsp%3B%20%22%20you%20do%20not%20have%20permission%20to%20change%20this%20user%20photo%22%20(and%20I'm%20logged%20in%20as%20global%20admin)%26nbsp%3B%26nbsp%3B%3C%2FLI%3E%3CLI%3EA%20picture%20list%20in%20SharePoint%20Root%20Site%20and%20a%20PowerShell%20script%20that%20sets%20the%20photos%20-%20so%20%22update%22%20is%20just%20replacing%20the%20photo%3F%26nbsp%3B%3C%2FLI%3E%3CLI%3Eany%20Other%20ways%3F%26nbsp%3B%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-729395%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIdentity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-729463%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-729463%22%20slang%3D%22en-US%22%3EHi%20Taen%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20would%20personally%20do%20it%20the%20second%20way%20in%20terms%20of%20using%20a%20script%20such%20as%20this%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Foffice%2FUpdate-Office-365-User-eac1b233%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgallery.technet.microsoft.com%2Foffice%2FUpdate-Office-365-User-eac1b233%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENo%20reason%20to%20get%20a%20third%20party%20tool%20once%20you%20have%20written%20the%20script!%20Granted%20I%20deal%20mainly%20with%20SMB%20so%20it%20may%20take%20some%20time%20if%20the%20organisation%20is%20large%20-%20so%20that%20is%20probably%20a%20reason%20to%20go%20with%20option%201%20if%20you%20manage%20to%20resolve%20it%20with%20the%20vendor.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20helps%20make%20a%20decision!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-729715%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-729715%22%20slang%3D%22en-US%22%3EHyperfish%20has%20a%20free%20photo%20tool%2C%20but%20it%20lets%20end%20users%20do%20their%20own%20not%20exactly%20from%20an%20admin%20perspective.%20Depends%20on%20company%20users%20and%20policies%2C%20but%20this%20could%20be%20an%20option.%20Their%20paid%20tool%20is%20nice%20for%20keeping%20profiles%20up%20to%20date%20as%20well%20and%20will%20ping%20people%20missing%20photos%20%2F%20required%20information%20and%20ask%20for%20updates%20periodically.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-736092%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-736092%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F108979%22%20target%3D%22_blank%22%3E%40Taen%20keren%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECodeTwo's%20rep%20over%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20review%20this%20installation%20guide%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.codetwo.com%2Fuserguide%2Fuser-photos-for-office-365%2Finstallation.htm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.codetwo.com%2Fuserguide%2Fuser-photos-for-office-365%2Finstallation.htm%3C%2FA%3E%26nbsp%3Bto%20make%20sure%20that%20you%20accepted%20the%20permissions%20requested%20by%20the%20application%20and%20that%20the%20program%20was%20allowed%20to%20be%20registered%20in%20Azure%20Active%20Directory%20of%20your%20tenant.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBe%20also%20advised%20that%20only%20photos%20of%20users%20with%20an%20active%20Office%20365%20subscription%20plan%20(with%20Exchange%20Online)%20are%20synchronized.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EAdam%20(CodeTwo)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-738237%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-738237%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38412%22%20target%3D%22_blank%22%3E%40Adam%20Aardvark%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F108979%22%20target%3D%22_blank%22%3E%40Taen%20keren%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20All%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20everyone%20is%20well.%20I%20have%20the%20exact%20opposite%20request.%20We%20wish%20to%20remove%20all%20profile%20pictures%20in%20all%20Office%20365%20services.%20We%20wish%20to%20default%20to%20initials%20(example%20NS)%20and%20prevent%20staff%20from%20changing%20their%20profile%20pictures%20until%20we%20get%20professional%20ones%20taken.%20Any%20advice%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-738292%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-738292%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F119208%22%20target%3D%22_blank%22%3E%40Navishkar%20Sadheo%3C%2FA%3E%26nbsp%3BHi%2C%20if%20you%C2%B4re%20connected%20to%20both%20Azure%20Active%20Directory%20and%20Exchange%20Online%20(with%20admin%20permissions)%20you%20should%20be%20able%20to%20pipe%20the%20command%20Get-MsolUser%20-All%20%7C%20Remove-UserPhoto%20-Identity%20%24_.UserPrincipalName%20-%3CSPAN%3EClearMailboxPhotoRecord%20-ErrorAction%20SilentlyContinue.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-741964%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-741964%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20remove%20user%20photos%2C%20you%20can%20also%20use%20CodeTwo%20User%20Photos%20for%20Office%20365.%26nbsp%3BJust%20select%20the%20photos%20in%20the%20program%2C%20right-click%20on%20your%20selection%20and%20choose%20%3CSTRONG%3ERemove%20photos%3C%2FSTRONG%3E%20from%20the%20shortcut%20menu.%26nbsp%3BYou%20can%20also%20use%20the%20%3CSTRONG%3ERemove%3C%2FSTRONG%3E%20button%20in%20the%20toolbar.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20a%20video%20on%20how%20to%20manage%20user%20photos%20with%20this%20freeware%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dw6eLrwLVY3o%26amp%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dw6eLrwLVY3o%26amp%3B%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20it%20comes%20to%20blocking%20users%E2%80%99%20ability%20to%20change%20photos%2C%20you%20can%20use%3A%3C%2FP%3E%3CPRE%3EGet-OwaMailboxPolicy%20%7C%20Set-OwaMailboxPolicy%20-SetPhotoEnabled%20%24false%3C%2FPRE%3E%3CP%3EUsers%20won%E2%80%99t%20be%20able%20to%20change%20their%20profile%20picture%20from%20OWA.%20It%20will%20probably%20be%20enough%20for%20most%20users.%20They%20might%20be%20still%20able%20to%20do%20that%20from%20other%20channels%2C%20but%20I'm%20not%20aware%20of%20any%20toggle%20in%20Office%20365%20to%20change%20it%20globally.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-752355%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-752355%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38412%22%20target%3D%22_blank%22%3E%40Adam%20Aardvark%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Adam.%20Thanks%20so%20much%20for%20the%20reply.%20Will%20try%20that.%20How%20will%20%22%3CSPAN%3ECodeTwo%20User%20Photos%20for%20Office%20365%22%20work%20in%20a%20hybrid%20environment%20thou%3F%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-752371%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-752371%22%20slang%3D%22en-US%22%3Ecodetwo%20is%20online%20only.%20I%20used%20to%20use%20a%20tool%20called%20directoryupdate%20from%20ithicos%2C%20it%20will%20let%20users%20update%20their%20profile%20and%20photo%20and%20if%20you%20do%20directorymanager%20you%20can%20update%20it%20for%20everyone%20else%2C%20not%20a%20bad%20tool%20set%20and%20reasonably%20priced%20for%20hybrid%20use.%20%3CBR%20%2F%3E%3CBR%20%2F%3EI%20prefer%20Hyperfish%20but%20it%20only%20supprots%20user%20updates%2C%20no%20way%20to%20give%20an%20admin%20from%20such%20as%20HR%20to%20maintain%20the%20profile%20%2F%20photos%20like%20you%20can%20with%20directorymanager.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-754442%22%20slang%3D%22en-US%22%3ERe%3A%20User%20photos%20in%20O365%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-754442%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F119208%22%20target%3D%22_blank%22%3E%40Navishkar%20Sadheo%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ECodeTwo%20User%20Photos%20for%20Office%20365%26nbsp%3B%3C%2FSPAN%3Esupports%20most%20hybrid%20configurations.%20Please%20see%20this%20user's%20manual%20for%20details%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.codetwo.com%2Fuserguide%2Fuser-photos-for-office-365%2Fhybrid.htm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.codetwo.com%2Fuserguide%2Fuser-photos-for-office-365%2Fhybrid.htm%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Super Contributor

Hi 

 

What is the 'best way' to get all the users photo "uploaded" to O365? 

 

Users mails are not moved/present in EXO 

 

  1. Looked/tried CodeTwo - but getting permission error:  " you do not have permission to change this user photo" (and I'm logged in as global admin)  
  2. A picture list in SharePoint Root Site and a PowerShell script that sets the photos - so "update" is just replacing the photo? 
  3. any Other ways? 
9 Replies
Highlighted
Hi Taen,

I would personally do it the second way in terms of using a script such as this

https://gallery.technet.microsoft.com/office/Update-Office-365-User-eac1b233

No reason to get a third party tool once you have written the script! Granted I deal mainly with SMB so it may take some time if the organisation is large - so that is probably a reason to go with option 1 if you manage to resolve it with the vendor.

Hope that helps make a decision!

Best, Chris
Highlighted
Hyperfish has a free photo tool, but it lets end users do their own not exactly from an admin perspective. Depends on company users and policies, but this could be an option. Their paid tool is nice for keeping profiles up to date as well and will ping people missing photos / required information and ask for updates periodically.
Highlighted
Best Response confirmed by Taen keren (Super Contributor)
Solution

Hi @Taen keren,

 

CodeTwo's rep over here.

 

Please review this installation guide: https://www.codetwo.com/userguide/user-photos-for-office-365/installation.htm to make sure that you accepted the permissions requested by the application and that the program was allowed to be registered in Azure Active Directory of your tenant. 

 

Be also advised that only photos of users with an active Office 365 subscription plan (with Exchange Online) are synchronized.

 

Thanks,

Adam (CodeTwo)

Highlighted

@Adam Aardvark @Christopher Hoard @Taen keren @Chris Webb 

 

Hi All

 

Hope everyone is well. I have the exact opposite request. We wish to remove all profile pictures in all Office 365 services. We wish to default to initials (example NS) and prevent staff from changing their profile pictures until we get professional ones taken. Any advice?

Highlighted

@Navishkar Sadheo Hi, if you´re connected to both Azure Active Directory and Exchange Online (with admin permissions) you should be able to pipe the command Get-MsolUser -All | Remove-UserPhoto -Identity $_.UserPrincipalName -ClearMailboxPhotoRecord -ErrorAction SilentlyContinue.

Highlighted

To remove user photos, you can also use CodeTwo User Photos for Office 365. Just select the photos in the program, right-click on your selection and choose Remove photos from the shortcut menu. You can also use the Remove button in the toolbar.

 

Here is a video on how to manage user photos with this freeware: https://www.youtube.com/watch?v=w6eLrwLVY3o&

 

When it comes to blocking users’ ability to change photos, you can use:

Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -SetPhotoEnabled $false

Users won’t be able to change their profile picture from OWA. It will probably be enough for most users. They might be still able to do that from other channels, but I'm not aware of any toggle in Office 365 to change it globally.

 

Adam

To easily upload, edit and manage users' photos in Office 365, use this free tool - CodeTwo User Photos for Office 365 (https://www.codetwo.com/freeware/user...
Highlighted

@Adam Aardvark 

 

Hi Adam. Thanks so much for the reply. Will try that. How will "CodeTwo User Photos for Office 365" work in a hybrid environment thou??

Highlighted
codetwo is online only. I used to use a tool called directoryupdate from ithicos, it will let users update their profile and photo and if you do directorymanager you can update it for everyone else, not a bad tool set and reasonably priced for hybrid use.

I prefer Hyperfish but it only supprots user updates, no way to give an admin from such as HR to maintain the profile / photos like you can with directorymanager.
Highlighted

Hi @Navishkar Sadheo,

 

CodeTwo User Photos for Office 365 supports most hybrid configurations. Please see this user's manual for details: https://www.codetwo.com/userguide/user-photos-for-office-365/hybrid.htm

 

Adam