Home

Set-UserPhoto - extremely SLOW

Peter Kruisman
New Contributor

 

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

SetUserPhoto.png

 

 

 

 

SetUserPhoto-Photo.png 

 

 

 

2 Replies

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

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.

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
7 Replies