pnp/PnP

Error getting source image using ProfilePictureUploader.exe

wbryan40 opened this issue · 1 comments

Category

[X ] Bug
[ ] Enhancement

Environment

[ X] Office 365 / SharePoint Online
[ ] SharePoint 2016
[ ] SharePoint 2013

Observed Behavior

Receiving Error fetching source image for URL ... Illegal characters in path. message when trying to specify local picture path in ProfilePictureUploader. I have tried simple paths (c:\temp\mypic.jpg) and network paths. Both trigger the error.

Steps to Reproduce

Run the ProfilePictureUpdater from a modified version of the Powershell script that only attempts to run the SPOnline update portion of the script by iterating through the items in the source csv file.

Determine problem was due to extra quotes being inserted by Excel into my saved userlist.csv file. Edited file in notepad to correct.