Skip to content

Include Webhook ClientState in Model#1096

Open
singingknight wants to merge 1 commit into
pnp:devfrom
pointwork-a-s:feature/include-webhook-clientstate
Open

Include Webhook ClientState in Model#1096
singingknight wants to merge 1 commit into
pnp:devfrom
pointwork-a-s:feature/include-webhook-clientstate

Conversation

@singingknight

@singingknight singingknight commented Dec 16, 2024

Copy link
Copy Markdown
Contributor

Webhook ClientState has been part of the Provisioning Schema since 2019-09, but not included in the Models

This Pull Request will cause the ClientState in a PnP Template like this to be applied and not just ignored:

<?xml version="1.0" encoding="utf-8"?>
<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema">
  <pnp:Preferences Generator="Human being" />
  <pnp:Templates ID="CONTAINER-TEMPLATE">
    <pnp:ProvisioningTemplate ID="TEMPLATE" Version="1" BaseSiteTemplate="SITEPAGEPUBLISHING#0" Scope="RootSite">
      <pnp:Lists>
        <pnp:ListInstance ...>
          <pnp:Webhooks>
            <pnp:Webhook ServerNotificationUrl="https://..." ExpiresInDays="90" ClientState="my-important-info" />
          </pnp:Webhooks>
        </pnp:ListInstance>
      </pnp:Lists>
    </pnp:ProvisioningTemplate>
  </pnp:Templates>
</pnp:Provisioning>

Webhook ClientState has been part of the Provisioning Schema since 2019-09, but not included in the Models
@Adam-it Adam-it added the area: provisioning ⚙ Provisioning engine issue or pull request label Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: provisioning ⚙ Provisioning engine issue or pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants