Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PnP Provisioning engine error: Invoke-PnPSiteTemplate : Error applying default column values #978

Open
alekpavlov opened this issue Feb 5, 2024 · 0 comments

Comments

@alekpavlov
Copy link

Hello all,

I'm trying to apply a template to a brand new SPO site but I'm getting the following error: Invoke-PnPSiteTemplate : Error applying default column values.

I set PnPTraceLog before calling Invoke-PnPSiteTemplate and inside I see the following error:
powershell.exe Error: 0 : 2024-02-05 14:09:31.4856 [PnP.Framework] [0] [Error] ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: This library does not accept files of the given type. You must either upload a new, unprotected file that supports rights management or re-upload a document that was previously downloaded from this library. at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryToServerAsync>d__53.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryAsync>d__39.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientRuntimeContext.<ExecuteQueryAsync>d__65.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.SharePoint.Client.ClientContext.<ExecuteQueryAsync>d__28.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.SharePoint.Client.ClientContextExtensions.<ExecuteQueryImplementation>d__6.MoveNext() ServerErrorCode: -2130575176 ServerErrorTypeName: Microsoft.SharePoint.SPException ServerErrorTraceCorrelationId: 72bc08a1-a030-8000-2ef3-f0a82aac2b91 ServerErrorValue: ServerErrorDetails: . 0ms

I'm really confused because the two error messages are completely different. I have couple of libraries and list with IRM enabled but could not suspect any of them to be faulty.

Appreciate any help on this issue.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant