Pnp-sites-core: [Provisioning Engine]: ProvisioningTemplateFile

Created on 8 Jun 2016  路  3Comments  路  Source: pnp/PnP-Sites-Core

It seems that ProvisioningTemplateFile is ignored by the provisioning engine.
And I get this error if Templates node contains just 1 occurence of ProvisioningTemplateFile

ERROR:

Apply-SPOProvisioningTemplate : Value cannot be null.
Parameter name: source

All 3 comments

Hi,
In the provisioning engine we only support the ProvisioningTemplate element, and its children. The ProvisioningTemplateFile is defined at schema level only. I will close this issue. Thanks for using the PnP Provisioning Engine.

I ran into the same issue. This is confusing to say the least.
Is there a reason why it remains in the schema and is not supported in the engine?
Furthermore some of the latest samples use that feature (see ProvisioningSchema-2016-05-FullSample-02.xml).
This should at least be documented in the "Current implemented version (in the PnP Provisioning Engine)" here.

I ran into exactly the same problem and I just spent over an hour trying to figure out what the problem was. Schema documentation and sample files make the impression that the functionality has been implemented. Furthermore, the samples are rather confusing - it is hard to figure out which ID to use...

Please, add a more descriptive error message indicating that the ProvisioningTemplateFile functionality has not been implemented yet and update schema samples and documentation. Future functionality should reside in a non-production branch.

Was this page helpful?
0 / 5 - 0 ratings