Deep dive to PnP provisioning engine schema

Play Deep dive to PnP provisioning engine schema
Sign in to queue


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.



Right click to download this episode

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.

  • User profile image
    Piero Negri

    awesome work!
    I am struggling to understand a bit deeper how to customize the template via code. From othe videos I understood just how to add a contact list, I am thinking to the whole features (e.g. Site Columns, Content types) that I think would be really powerful to create at run time.
    Grazie Paolo!

Add Your 2 Cents