Sep 21 2016 10:04 AM
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?
Sep 21 2016 01:10 PM
Sorry no Yammer API to update end user profile ....
Sep 22 2016 04:35 AM
Sep 22 2016 10:05 AM
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?
Sep 23 2016 06:47 PM
Dec 12 2016 07:38 PM
Dec 12 2016 07:40 PM
Aug 09 2017 07:47 PM
Did you find a way around this? We have a community of 24000, and a large proportion have not chosen a picture.
Aug 09 2017 08:19 PM
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) .
Aug 09 2017 08:22 PM
Aug 09 2017 08:22 PM
Ah just realised its exchange/exchange online ... sorry might not work for you.
Aug 15 2017 11:43 AM
Actually, that may work. If you update Exchange Online, that should update AAD, and AAD replicates to empty Yammer profile pictures.
Aug 15 2017 07:07 PM
Would this mean that users who already have an existing profile picture would not be affected?
Aug 15 2017 07:16 PM
Aug 15 2017 07:16 PM
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.
Aug 16 2017 02:39 PM
@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).