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()
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