Forum Discussion

Giorgio Guerrieri's avatar
Giorgio Guerrieri
Copper Contributor
Oct 18, 2017

Get-PnPProvisioningTemplate Exception Could not load one or more request types

Hi,

 

I try to generate a provisioning template from a clean Site Collection on O365.

It's a Publishing Site without workflow, with some custom Site Content Types and Columns (simple type of columns, no calculated, lookup, managed metadata).

No customization as branding or workflow, and zero custom lists or library.

 

PowerShell script (with only method Get-PnPProvisioningTemplate) crashes with message "Could not load one or more request types" (or similar, the message is in italian language, I translated it)

 

Version of SharePoint Online Client SDK is the same (latest) of SharePoint Online Management Shell and I use latest SharePoint PnP PowerShell Command Module for Online.

I use SharePoint tenant administrator credentials (not Global tenant admin).

 

In trace log settings, last message is about saved xxxx.it-IT.resx file in folder.

Then, exception.

 

What can I do to understand exception?

 

Thank you!

2 Replies

  • Anonymous's avatar
    Anonymous

    It seems to me it is a bug in the with the resx files of italy.

    Best thing to do is report the bug in the github of the pnp team.

    • Giorgio Guerrieri's avatar
      Giorgio Guerrieri
      Copper Contributor
      I tried to install previous version module of pnp powershell and then it's ok.
      (AppyTemplate goes in error at the end, but it is another problem :-) )
      thank you

      (I leave question opened because new version has probably issues)

Resources