You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke-PnPSiteTemplate and Convert-PnPSiteTemplate are failing on template.
I've first noticed this with Invoke-PnPSiteTemplate on several template that previously worked without any issues. Now the comand will acutally process the template, but is effectivly doing nothing.
I've recently tried to convert that template (still using an old schema 201805 or 201807) with Convert-PnPSiteTemplate. This here is all I get back from a full-featured template - the actual template part is stripped blank:
I had to migrate the templates manually to a later schema to get them working again. I manged to get them to 202002 and was then able to convert them to LATEST as well as directly apply them using Invoke-PnPSiteTemplate.
It really seems a breaking thing with some schema versions for both commands. Not exactly sure at which version it's breaking and on which version it's fine again. All I can say is, that I have the issue with 201805 and 201807 and it's working again with 202002.
Only thing I've noticed converting one of the templates from 202002 to LATEST then was, that in a template actually containing more then one ProvisioninTemplate childs only one gets converted - the other one (in my case only 2) was dropped. Converting them one by one and merging the outcome was - of course - possible.
The text was updated successfully, but these errors were encountered:
Invoke-PnPSiteTemplate and Convert-PnPSiteTemplate are failing on template.
I've first noticed this with Invoke-PnPSiteTemplate on several template that previously worked without any issues. Now the comand will acutally process the template, but is effectivly doing nothing.
I've recently tried to convert that template (still using an old schema 201805 or 201807) with Convert-PnPSiteTemplate. This here is all I get back from a full-featured template - the actual template part is stripped blank:
I had to migrate the templates manually to a later schema to get them working again. I manged to get them to 202002 and was then able to convert them to LATEST as well as directly apply them using Invoke-PnPSiteTemplate.
It really seems a breaking thing with some schema versions for both commands. Not exactly sure at which version it's breaking and on which version it's fine again. All I can say is, that I have the issue with 201805 and 201807 and it's working again with 202002.
Only thing I've noticed converting one of the templates from 202002 to LATEST then was, that in a template actually containing more then one ProvisioninTemplate childs only one gets converted - the other one (in my case only 2) was dropped. Converting them one by one and merging the outcome was - of course - possible.
The text was updated successfully, but these errors were encountered: