pnp / PnP-Sites-Core

Microsoft 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Other
416 stars 644 forks source link

2019 CSOM, error when it comes to provision ClientSidePage #2685

Open uboddenberg opened 4 years ago

uboddenberg commented 4 years ago

Category

[X ] Bug [ ] Enhancement

Environment

[ ] Office 365 / SharePoint Online [X ] SharePoint 2019!!! [ ] SharePoint 2013

If SharePoint on-premises, what's exact CU version: most current

Expected or Desired Behavior

ClientSidePages will provision from template in SP2019

Observed Behavior

when it comes to Provision ClientSidePage, pnp cspm runs into exception Message 401 UNAUTHORIZED StackTrace bei OfficeDevPnP.Core.Pages.ClientSidePage.d165.MoveNext() bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei OfficeDevPnP.Core.Pages.ClientSidePage.<>cDisplayClass136_0.b__0() bei System.Threading.Tasks.Task`1.InnerInvoke() bei System.Threading.Tasks.Task.Execute()

BTW: Same thing in O365 works

Steps to Reproduce

run ApplyProvisioninTemplate on SP2019, csom

Submission Guidelines

Thanks for your contribution! Sharing is caring.

thanks

uli

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.