PnP Provisioning Engine - Introducing PnP file type for template handling

Download this episode

Download Video


In this demo video Vesa Juvonen shows how to get started with PnP Provisioning Engine using PnP PowerShell and how to export and use the new PnP file type as the template container. Starting from PnP June 2016 release, you can now export site templates to PnP file type, which is actually an OpenXML document containing template definition and possible additional assets. 

Demo uses PnP PowerShell Cmdlets from simplicity perspective, but you can also take advantage of the new PnP file type with managed code in your provider hosted add-ins or from any managed code. Since engine can be used with PowerShell or with code, you can take advantage of this advance template model regardless of your provisioning logic or regardless if you are IT Pro or a developer. 

Since both template and possible asset files (like branding files) are bundled to single OpenXML document, you can more easily manage different templates. We are also looking into releasing open source template gallery during autumn 2016, which will allow anyone to share their remote provisioning templates for the community to reuse. 

Demo presenter: Vesa Juvonen

PnP Provisioning Engine was originally released with Office 365 Dev Patterns and Practices May 2015 release and we've continued adding new capabilities as part of the monthly releases. You can always find details around newly added capabilities or changes as part of the PnP monthly communications

Additional Resources

See following links for additional details around covered topics.


If you have any feedback or comments related on this video, please use the Office 365 Developer Patterns and Practices Yammer group to provider your input. Thx for your interest advance.

Generic Episode Image





Available formats for this video:

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

    The Discussion

    • User profile image

      Hi Vesa

      This is the easy part everything is on the same tenancy - can you update the demo to include managed metadata fields and the steps you need to go thorough to get them to transfer if you are not using the same tenancy. Also can you repeat the demo using different tenancies showing what the gotacha's are eg List Instances.



    • User profile image
      Jems Jose

      Thanks Vesa for leading and sharing this awesome work.

    • User profile image
      Tom Schelling

      " can also take advantage of the new PnP file type with managed code..."
      How would I do that?
      Simply changing the file extension to .pnp in save operation ([1] - GetProvisioningTemplate - provider.SaveAs) does not do the trick.
      Can you please point out the way to export the template as .pnp-file from C#?


    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.