pnp / PnP

SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
https://aka.ms/m365pnp
Other
1.9k stars 3.31k forks source link

Error getting source image using ProfilePictureUploader.exe #1819

Closed wbryan40 closed 6 years ago

wbryan40 commented 6 years ago

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.

wbryan40 commented 6 years ago

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