I am Dale Hayter, a Microsoft and VMware certified Technical Consultant.

My blog has been built up over the years from my experience of working on an IT helpdesk and also from being out on-site.

Set-UserPhoto, Error on proxy command

If you are trying to upload a User photo to someone in Office 365 but getting lots of red text and the message Error on Proxy command

set-userphoto

You might also get the error.

The remote server returned an error: (413) Request Entity Too Large…

then try connecting to Office 365 in an elevated PowerShell with the commands below.