Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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