Hyperfish / PhotoImporterExporter

Simple command line app for importing and exporting photos for users from/to Active Directory and Office 365.
MIT License
17 stars 6 forks source link

Call to set SPS-PicturePlaceholderState is failing #1

Closed LoungeFlyZ closed 6 years ago

LoungeFlyZ commented 6 years ago

The call to set SPS-PicturePlaceholderState property in a users profile after uploading their photo(s) fails with an access denied error even when using a Global Admin account.

Investigating.

J04nn4 commented 6 years ago

Hi, any updates on this error? thanks

fela98 commented 6 years ago

Hi, I'm getting the exact same issue. Any update on this? This tool would be really useful for us if we can use it for importing the profile pictures to SharePoint.

LoungeFlyZ commented 6 years ago

Thanks for the PR @fela98 ... i obviously borked up a change and used the wrong clientcontext for setting the profile properties. Thanks for catching it!