Pnp GetProvisioningTemplate only gets welcome page, no other site pages

%3CLINGO-SUB%20id%3D%22lingo-sub-68406%22%20slang%3D%22en-US%22%3EPnp%20GetProvisioningTemplate%20only%20gets%20welcome%20page%2C%20no%20other%20site%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68406%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20this%20by%20design%20or%20is%20there%20some%20way%20to%20get%20the%20other%20site%20pages%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20i%20can%20create%20them%20by%20hand%2C%20just%20not%20clear%20on%20why%20I%20can't%20read%20them%20from%20the%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20CSOM%20with%20SharePoint%20Online%20PnP%20Core%202.13.1703%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDave%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-68406%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-68434%22%20slang%3D%22en-US%22%3ERe%3A%20Pnp%20GetProvisioningTemplate%20only%20gets%20welcome%20page%2C%20no%20other%20site%20pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-68434%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F52430%22%20target%3D%22_blank%22%3E%40David%20Grooms%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20by%20design.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20put%20a%20solutoin%20together%20that%20will%20collect%20multiple%20pages.%20Actually%20it%20could%20export%20a%20whole%20tenant%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fveenstra.me.uk%2F2017%2F04%2F19%2Foffice-365-sharepoint-20132016-moving-sites-around%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fveenstra.me.uk%2F2017%2F04%2F19%2Foffice-365-sharepoint-20132016-moving-sites-around%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Is this by design or is there some way to get the other site pages ?

 

I know i can create them by hand, just not clear on why I can't read them from the site.

 

Using CSOM with SharePoint Online PnP Core 2.13.1703

 

Dave

1 Reply
Highlighted

Hi @David Grooms,

 

This is by design.

 

I've put a solutoin together that will collect multiple pages. Actually it could export a whole tenant:

 

https://veenstra.me.uk/2017/04/19/office-365-sharepoint-20132016-moving-sites-around/