Jump to content

Recommended Posts

Posted

Morning All,

 

Trying to clear up a bit of a legacy issues here, we have all our photos sync'd originally via AD but it seems it's never had the option turned on to disable students changing pictures since it was originally installed whenever that was.

 

Disabled the option, and manually removed a few pictures and forced a full import but it doesn't seem to be repulling photos up.

 

Is there anything obvious I should be checking for this to work? Pics in AD, removed O365 pic via Powershell. Just doesn't seem to want to repull the photo from AD.

 

Thanks,

Steve

Posted

When we were testing with pictures over the summer, I found that I needed to change the picture in AD to something else, then sync, then switch the picture back again and sync again otherwise it thought it did not need to do anything (this was even via a Full Export>Sync)

 

I used a powershell script to set all the users AD thumbnail to the school logo, then used another to put back their actual mugshot (which lasted for a whole 2 days before they all demanded the logo back as they didn't want their picture in the top corner.... I had even made sure the students didn't get the staff images since they are in different address book policies but ah well)

  • Thanks 1
Posted

Ah ok :D Will have to try that and see if it resolves it.

 

Looks like it's been left this way so long here that it's hundreds who changed it, so my original thought of fixing a few isn't gonna cut it haha :D

 

Will try that and see how it goes. Did it change the photos pretty instantly, or was there still the normal photo import delay?

 

Thanks,

Steve

Posted

Two questions.

 

1. Is it relatively easy to disable photo changing for different groups? Is staff and students.

 

2. How did you set the photos in ad to a particular student?

 

I have a folder with all the photos in named by admission number and a field in ad with the ad number in.

I'm assuming it'll be pretty easy to map that across in powershell.

Posted
Two questions.

 

1. Is it relatively easy to disable photo changing for different groups? Is staff and students.

 

2. How did you set the photos in ad to a particular student?

 

I have a folder with all the photos in named by admission number and a field in ad with the ad number in.

I'm assuming it'll be pretty easy to map that across in powershell.

 

1 - Yes, you can just apply two different User/OWA Roles, one to staff, one to students etc. But we are using SIMs photos so locking all down :D

2 - They're using Salamander here so it does the SIMs->AD link itself, but Powershell scripts etc can do it just as nicely :)

 

Steve

  • Thanks 1
Posted
1 - Yes, you can just apply two different User/OWA Roles, one to staff, one to students etc. But we are using SIMs photos so locking all down :D

2 - They're using Salamander here so it does the SIMs->AD link itself, but Powershell scripts etc can do it just as nicely :)

 

Steve

 

Ah I've got salamander here too so I might just need to request that being activated.

If the pics are in ad do they automatically go across to o365 or do you need to set something?

Posted

For powershell, the command would be

 

$photo = [byte[]](Get-Content "E:\user.jpg" -Encoding byte)

Set-ADUser UserBlah -Replace @{thumbnailPhoto=$photo}

Set-ADUser UserBlah -Replace @{jpegPhoto=$photo}

Posted
Ah I've got salamander here too so I might just need to request that being activated.

If the pics are in ad do they automatically go across to o365 or do you need to set something?

 

We have it setup using dirsync so passwords etc sync across, and that does all AD attributes if you tick them (including photo). Guessing AD FS etc does same.

 

Steve

Posted
We have it setup using dirsync so passwords etc sync across, and that does all AD attributes if you tick them (including photo). Guessing AD FS etc does same.

 

Steve

 

Thanks, I'll double check photo is ticked by default.

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