pnp/PnP

Core.ProfilePictureUploader - Doesn't support custom URLs from SPO dedicated

Opened this issue · 0 comments

Category

[ ] Bug
[x] Enhancement

Environment

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

Expected or Desired Behavior

Can be used with SPO dedicated customers with custom URLs.
Add something to the configuration XML which allows custom URLs to be specified rather than generating them based on the tenant name.

Observed Behavior

Can NOT be used with SPO dedicated customers with custom URLs. Sample assumes that Admin URL and OneDrive URL are -Admin and -My. In SPO Dedicated you can have custom URLs.

Steps to Reproduce

Try to use this with a tenant who's Admin and OneDrive URLs are custom. It will fail.