Forum Discussion

Peter Kruisman's avatar
Peter Kruisman
Copper Contributor
Jul 03, 2017

Set-UserPhoto - extremely SLOW

 

We have to bulk upload ~50.000 pictures.. Averge size ~ 30 kB
At least each upload takes 8 seconds. 

Is this normal?

Has anyone significant better reponse times?!!

 

Suggestions to improve the response times are appreciated!

 

Regards Peter

 

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/?proxymethod=rps -Credential $UserCredential -Authentication Basic -AllowRedirection

 

 

 

 

 

 

 

 

2 Replies

  • Joe McGowan's avatar
    Joe McGowan
    Iron Contributor

    Just a thought but do you proxy HTTPS traffic in any way to the Office 365 endpoints?  8 seconds doesn't seem bad but I guess it is when you have 50,000 pictures to process.

  • Mark Salter's avatar
    Mark Salter
    Copper Contributor

    I find it VERY slow too. I intend to have a scheduled task run to do this for well over 1000 images and think it may be unworkable due to the speed. Would welcome advice too.

     

    Mark