Skip to content

Instantly share code, notes, and snippets.

@ypcode
Last active September 16, 2017 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ypcode/9139ccb109d5c961934772a3537e1660 to your computer and use it in GitHub Desktop.
Save ypcode/9139ccb109d5c961934772a3537e1660 to your computer and use it in GitHub Desktop.
<pnp:Provisioning
xmlns:pnp="http://schemas.dev.office.com/PnP/2017/05/ProvisioningSchema">
<pnp:Preferences Generator="OfficeDevPnP.Core, Version=2.18.1709.0, Culture=neutral, PublicKeyToken=3751622786b357c2" />
<pnp:Templates ID="CONTAINER-TEMPLATE-WEBHOOK">
<pnp:ProvisioningTemplate ID="TEMPLATE-WEBHOOK" Version="1" BaseSiteTemplate="STS#0" Scope="RootSite">
<pnp:Lists>
<pnp:ListInstance Title="testwebhook" TemplateType="100" Url="Lists/testwebhook">
<pnp:Webhooks>
<pnp:Webhook ServerNotificationUrl="https://your-functions.azurewebsites.net/api/sample-webhook" ExpiresInDays="179" />
</pnp:Webhooks>
</pnp:ListInstance>
</pnp:Lists>
</pnp:ProvisioningTemplate>
</pnp:Templates>
</pnp:Provisioning>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment