Deep dive to PnP provisioning engine schema

Download this episode

Download Video


This video shows how to get started with the Office 365 Developer Patterns and Practices provisioning engine schema.

Author of the video: Paolo Pialorsi @PaoloPia.

Video shows following topics

  • Schema structure for the PnP xml based provisioning
  • How to use PnP PowerShell to apply provisioning templates towards existing sites
  • How to provision fields, content types, lists, views, files, web parts, lookup fields, taxonomies and taxonomy fields remotely to SharePoint sites

If you are interested on how to use the PnP engine using your managed code and how to extract provisioning schema from existing sites, please have a look on following video:

If you have any feedback or comments related on the PnP engine, please use the Office 365 Developer Patterns and Practices Yammer group to start discussion with other PnP engine users and with the PnP core team.

Core engine is outcome from the work done by Erwin van Hunen, Paolo Pialorsi, Bert Jansen, Frank Marasco and Vesa Juvonen. Already at this point community has started to contribute to this open source provisioning engine and we truly appreciate your support on this framework.



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Gavin H


      I'm having issues provisioning files (value is null exception). Can you please expand on how to use the files element where files can be stored in there own subfolders?

    • User profile image

      I use code like below..
      var ptci = new ProvisioningTemplateCreationInformation(web);
      ptci.BaseTemplate = web.GetBaseTemplate();
      ptci.FileConnector = new FileSystemConnector(fileLocation, "");
      ptci.PersistComposedLookFiles = true;
      ptci.IncludeAllTermGroups = true;
      ptci.IncludeSiteCollectionTermGroup = true;
      ProvisioningTemplate template = web.GetProvisioningTemplate(ptci);

      The template.Pages list is empty(count=0). But there are Pages, Site Pages library and aspx pages in my site.

      Please help to guide why the pages are not in template.


    • User profile image
      Paolo Pialorsi

      Please move this thread in the Yammer network related to Office 365: - Thanks.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.