Invoke-PnPSiteTemplate does not provision webparts to classic site Homepage.aspx #4098
Unanswered
rockraider213
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I try to provision webparts to the Homepage.aspx, the Homepage is empty after applying the template.
Even the trace log says nothing about any errors.
The webparts are about showing the task list, a contact list, and some list entries from another list (injected from a tiny javascript).
The weird thing is that on one site it was successfully but past and post sites does not work.
01.07.2024: provisiong worked
02.07.2024: provisioning does not worked
10.07.2024: provisioning does not worked
11.07.2024: provisioning worked
Steps to reproduce:
Invoke-PnPSiteTemplate -Path $env:TEMP"\ProjectWebTemplate.xml" -Parameters @{"ApplicationUrl" = $global:applicationUrl; "ApplicationUrlRelative" = $global:applicationUrlRelative; "ProjectID" = $project.FieldValues[$global:FIELD_NAME_SharePointID] } -ClearNavigation -Handlers Lists, Navigation, Pages, PageContents
Invoke-PnPSiteTemplate -Path $env:TEMP"\Project_Landingpage.xml" -Parameters @{"ApplicationUrl" = $global:applicationUrl; "ApplicationUrlRelative" = $global:applicationUrlRelative; }
Environment:
PnP.Powershell Version 2.5.0
Powershell 5.1 in Azure Runbook
Hopefully someone has an idea what I could try to solve it.
And might it be usefull to also contact Microsofr Support in this case?
KR
Beta Was this translation helpful? Give feedback.
All reactions