Home

Bulk Upload User Profile Pictures in Yammer

%3CLINGO-SUB%20id%3D%22lingo-sub-14678%22%20slang%3D%22en-US%22%3EBulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14678%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20anyone%20know%20a%20method%20to%20bulk%20upload%20user%20profile%20pictures%20for%20all%20employees%20in%20a%20Yammer%20network%3B%20we%20currently%20have%20about%2014000%20employees%20synced%20to%20Yammer.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20using%20Yammer%20as%20part%20of%20our%20Office%20365%20Enterprise%20licensing%20and%20sync%20all%20of%20our%20user%20accounts%20to%20Office%20365%20with%20AADConnect.%20We%20had%20a%20similar%20issue%20with%20User%20Photos%20in%20the%20Office%20365%20Portal%20and%20Delve%2FSharePoint%20Online.%20We%20learned%20we%20couldn't%20get%20user%20photos%20to%20appear%20in%20the%20Office%20365%20Poral%20because%20we%20did%20not%20use%20Exchange%20Online%2C%20which%20means%20the%20pictures%20did%20not%20sync%20from%20Office%20365%20to%20SharePoint%20online.%20To%20work%20around%20this%20we%20used%20the%20Core.ProfilePictureUploader%20program%20we%26nbsp%3Bfound%20online%20to%20bulk%20load%20pictures%20into%20employees%20Delve%2FSharePoint%20online%20profiles.%20Is%20there%20a%20similar%20program%20or%20method%20we%20could%20use%20to%20load%20pictures%20into%20Yammer%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-14678%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-97068%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-97068%22%20slang%3D%22en-US%22%3E%3CP%3E%40Deleted%2C%20that%20is%20correct.%20%26nbsp%3BThe%20current%20configuration%20is%20such%20that%20if%20a%20person%20already%20has%20a%20photo%20configured%20for%20the%20Yammer%20account%2C%20that%20photo%20is%20not%20overwritten%20%2F%20updated%20by%20AAD.%20%26nbsp%3BAt%20that%20point%2C%20the%20only%20way%20to%20update%20the%20photo%20is%20through%20the%20UI%20(or%20some%20undocumented%20API).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-96737%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-96737%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20you%20use%20the%20method%20i%20described%2C%20then%20you%20just%20need%20to%20exclude%20those%20people%20whom%20you%20don't%20want%20to%20update.%20We%20have%20a%20mix%20as%20well%2C%20so%20when%20I%20get%20around%20to%20doing%20this%20I'll%20run%20a%26nbsp%3BGet-UserPhoto%20first%20and%20exclude%20those%20people%20from%20the%20list.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-96735%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-96735%22%20slang%3D%22en-US%22%3E%3CP%3EWould%20this%20mean%20that%20users%20who%20already%20have%20an%20existing%20profile%20picture%20would%20not%20be%20affected%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-96626%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-96626%22%20slang%3D%22en-US%22%3E%3CP%3EActually%2C%20that%20may%20work.%20%26nbsp%3BIf%20you%20update%20Exchange%20Online%2C%20that%20should%20update%20AAD%2C%20and%20AAD%20replicates%20to%20empty%20Yammer%20profile%20pictures.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94766%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94766%22%20slang%3D%22en-US%22%3E%3CP%3EAh%20just%20realised%20its%20exchange%2Fexchange%20online%20...%20sorry%20might%20not%20work%20for%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94765%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94765%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20could%20try%20scripting%20it%20loading%20it%20into%20AD%2C%20which%20will%20then%20sync%20with%20AAD%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechnet.microsoft.com%2Fen-us%2Flibrary%2Fjj218694(v%3Dexchg.160).aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3ESet-UserPhoto%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EWindows%20PowerShell%20cmdlet.%20For%20example%3A%3C%2FP%3E%3CP%20class%3D%22%22%3ESet-UserPhoto%20%22username%22%20-PictureData%20(%5BSystem.IO.File%5D%3A%3AReadAllBytes(%22C%3A%5CUsers%5CAdministrator%5CDesktop%5Cphoto.jpg%22))%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EYou%20could%20read%20a%20file%20with%20username%20and%20filename%20in%20it%20and%20loop%20around%20using%20Set-UserPhoto%20to%20assign%20it.%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3EBeen%20meaning%20to%20do%20this%20for%20our%20users%20for%20some%20time%2C%20so%20have%20not%20tried%20it%20yet.%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22%22%3ENeed%20to%20check%20the%20file%20format%20and%20size%20that%20are%20allowed%20(96x96%20px%20I%20think%20and%20100k)%20.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94761%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94761%22%20slang%3D%22en-US%22%3E%3CP%3EDid%20you%20find%20a%20way%20around%20this%3F%20We%20have%20a%20community%20of%2024000%2C%20and%20a%20large%20proportion%20have%20not%20chosen%20a%20picture.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35269%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35269%22%20slang%3D%22en-US%22%3EWe%20have%20been%20looking%20at%20this%2C%20but%20since%20we%20don't%20use%20Exchange%20Online%20almost%20all%20of%20our%20Office%20365%20accounts%20don't%20have%20a%20picture%20uploaded%3B%20also%20the%20size%20limit%20with%20AAD%20Connect%20and%20Azure%20AD.%20We%20worked%20around%20this%20issue%20by%20using%20the%20SharePoint%20Online%20tool%20I%20referenced%20above%2C%20but%20we%20are%20now%20starting%20see%20the%20problem%20with%20not%20having%20the%20pictures%20synced%20to%20Office%20365%20from%20AD.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-35268%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-35268%22%20slang%3D%22en-US%22%3EWe%20have%20about%2014000%20employees%20are%20trying%20to%20prestage%20as%20much%20profile%20content%20in%20anticipation%20for%20our%20launch.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-15262%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-15262%22%20slang%3D%22en-US%22%3EThis%20article%20might%20help%20understand%20the%20sync%20of%20profile%20properties%20include%20the%20picture%20from%20Azure%20AD%20attached%20to%20your%20O365%20tenant%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-gb%2Farticle%2FManage-Yammer-users-across-their-life-cycle-from-Office-365-6c4c8fff-6444-404a-bffc-f9da0bcc3039%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-gb%2Farticle%2FManage-Yammer-users-across-their-life-cycle-from-Office-365-6c4c8fff-6444-404a-bffc-f9da0bcc3039%3C%2FA%3E%3CBR%20%2F%3EIt%20states%20that%20if%20there%20is%20a%20picture%20in%20Azure%20AD%20but%20not%20in%20Yammer%2C%20it%20will%20be%20added%20therefore%2C%20you%20only%20need%20to%20bulk%20upload%20to%20one%20place%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14896%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14896%22%20slang%3D%22en-US%22%3E%3CP%3EActually%20there%20is%20an%20API%20to%20update%20the%20end%20user%20profile%3A%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Fusersidjson-1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdeveloper.yammer.com%2Fdocs%2Fusersidjson-1%3C%2FA%3E.%20%26nbsp%3BHowever%2C%20this%20doesn't%20update%20the%20image%20of%20the%20profile.%20%26nbsp%3B%3A%5C%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERight%20now%20there%20is%20a%20relatively%20new%20feature%20where%20if%20there%20is%20no%20Yammer%20profile%20picture%2C%20the%20profile%20picture%20is%20automatically%20copied%20from%20the%20Office%20365%20profile%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ffasttrack.microsoft.com%2Froadmap%3Ffilters%3Dyammer%23L-55080%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Ffasttrack.microsoft.com%2Froadmap%3Ffilters%3Dyammer%23L-55080%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWould%20that%20meet%20your%20needs%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14809%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14809%22%20slang%3D%22en-US%22%3EWhy%20don't%20you%20just%20instruct%20people%20to%20upload%20their%20own%20profile%20pictures%2C%20not%20everyone%20will%2C%20but%20you'll%20probably%20find%20that%20most%20do.%3CBR%20%2F%3EIt's%20kind%20of%20interesting%20that%20you%20don't%20have%20a%20profile%20picture%20on%20this%20network%20%3B)%3C%2Fimg%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-14729%22%20slang%3D%22en-US%22%3ERe%3A%20Bulk%20Upload%20User%20Profile%20Pictures%20in%20Yammer%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-14729%22%20slang%3D%22en-US%22%3E%3CP%3ESorry%20no%20Yammer%20API%20to%20update%20end%20user%20profile%20....%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Brandon Segermeister
New Contributor

Does anyone know a method to bulk upload user profile pictures for all employees in a Yammer network; we currently have about 14000 employees synced to Yammer.

 

We are using Yammer as part of our Office 365 Enterprise licensing and sync all of our user accounts to Office 365 with AADConnect. We had a similar issue with User Photos in the Office 365 Portal and Delve/SharePoint Online. We learned we couldn't get user photos to appear in the Office 365 Poral because we did not use Exchange Online, which means the pictures did not sync from Office 365 to SharePoint online. To work around this we used the Core.ProfilePictureUploader program we found online to bulk load pictures into employees Delve/SharePoint online profiles. Is there a similar program or method we could use to load pictures into Yammer?

13 Replies

Sorry no Yammer API to update end user profile .... 

Why don't you just instruct people to upload their own profile pictures, not everyone will, but you'll probably find that most do.
It's kind of interesting that you don't have a profile picture on this network ;)

Actually there is an API to update the end user profile:  https://developer.yammer.com/docs/usersidjson-1.  However, this doesn't update the image of the profile.  :\

 

Right now there is a relatively new feature where if there is no Yammer profile picture, the profile picture is automatically copied from the Office 365 profile:

 

https://fasttrack.microsoft.com/roadmap?filters=yammer#L-55080

 

Would that meet your needs?

This article might help understand the sync of profile properties include the picture from Azure AD attached to your O365 tenant
https://support.office.com/en-gb/article/Manage-Yammer-users-across-their-life-cycle-from-Office-365...
It states that if there is a picture in Azure AD but not in Yammer, it will be added therefore, you only need to bulk upload to one place
We have about 14000 employees are trying to prestage as much profile content in anticipation for our launch.
We have been looking at this, but since we don't use Exchange Online almost all of our Office 365 accounts don't have a picture uploaded; also the size limit with AAD Connect and Azure AD. We worked around this issue by using the SharePoint Online tool I referenced above, but we are now starting see the problem with not having the pictures synced to Office 365 from AD.

Did you find a way around this? We have a community of 24000, and a large proportion have not chosen a picture. 

You could try scripting it loading it into AD, which will then sync with AAD:

 

Set-UserPhoto Windows PowerShell cmdlet. For example:

Set-UserPhoto "username" -PictureData ([System.IO.File]::ReadAllBytes("C:\Users\Administrator\Desktop\photo.jpg"))

 

You could read a file with username and filename in it and loop around using Set-UserPhoto to assign it.

 

Been meaning to do this for our users for some time, so have not tried it yet. 

 

Need to check the file format and size that are allowed (96x96 px I think and 100k) .

Ah just realised its exchange/exchange online ... sorry might not work for you.

Actually, that may work.  If you update Exchange Online, that should update AAD, and AAD replicates to empty Yammer profile pictures.

Would this mean that users who already have an existing profile picture would not be affected?

If you use the method i described, then you just need to exclude those people whom you don't want to update. We have a mix as well, so when I get around to doing this I'll run a Get-UserPhoto first and exclude those people from the list.

@Deleted, that is correct.  The current configuration is such that if a person already has a photo configured for the Yammer account, that photo is not overwritten / updated by AAD.  At that point, the only way to update the photo is through the UI (or some undocumented API).

Related Conversations
Order of Pictures in Yammer Posts
Katie O'Leary in Yammer on
7 Replies
Troubleshooting assistance needed: user profile info missing
some guy in Yammer on
3 Replies
Where is Yammer Notifier installer
Paul Beiler in Yammer on
8 Replies
Create survey in Yammer
Deleted in Yammer on
9 Replies