I want to be able to update Content Types / Fields / Lists/ Groups / Users in an Office Dev PnP Provisioning Template.
When I look at the PnP-Core code I see the following :- private static void UpdateContentType . The scope is private not public. I can add lists as follows template.Lists.Add(new ListInstance(), but I cannot se how to update an existing list's properties. Am I missing something ?
In Provisioning Templates some updates (especially additions but some configuration changes also) will just be applied if you modify the template and apply it again to the same site.
Removal of elements and lots of other configuration changes are not (yet) implemented in the engine but in general you could easily write some code using one of the extension methods in the Core library to do so if needed. You could hook this code up to your provisioning template by defining Extensiblity Handlers or you could execute this kind of code wherever makes sense.