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

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

Open they007 opened 5 years ago

they007 commented 5 years ago

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.