When applying PnP provisioning templates (e.g. via Apply-PnPProvisioningTemplate PS cmdlet), the ClientSidePage.Header.TextAlignment value (e.g. "Left") is applied to the provisioned page's PageHeader.TextAlignment property.
Observed Behavior
The TextAlignment atribute of the ClientSidePage.Header element is ignored when the provisioning template is applied and the page is created or updated. In the tested template, the Header.TextAlignment attribute value = "Left" and the ClientSidePage.Overwrite attribute value = "true".
Steps to Reproduce
Export a modern SPO page with left-aligned page header text using Export-PnPClientSidePage
Apply the generated provisioning template using Apply-PnPProvisioningTemplate and check if the page header is aligned to the left, as specified in the template.
Category
[x] Bug [ ] Enhancement
Environment
[x] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013
Expected or Desired Behavior
When applying PnP provisioning templates (e.g. via
Apply-PnPProvisioningTemplate
PS cmdlet), the ClientSidePage.Header.TextAlignment value (e.g. "Left") is applied to the provisioned page's PageHeader.TextAlignment property.Observed Behavior
The TextAlignment atribute of the ClientSidePage.Header element is ignored when the provisioning template is applied and the page is created or updated. In the tested template, the Header.TextAlignment attribute value = "Left" and the ClientSidePage.Overwrite attribute value = "true".
Steps to Reproduce
Export-PnPClientSidePage
Apply-PnPProvisioningTemplate
and check if the page header is aligned to the left, as specified in the template.Thanks!