pnpframework
pnpframework copied to clipboard
Can't use parameters in TermGroup Managers and Contributors nodes in pnp provisioning schema
Hi all, when using parameters in the Name attribute of the user node, the PNP provision fails. It tries to get the user without expanding the placeholder. I don't know if it is related to the pnp:User node or the TermGroup Managers / Contributors nodes.
<pnp:TermStore>
<pnp:TermGroup Name="{parameter:TaxonomyGroupName}">
<pnp:TermSets>
<pnp:TermSet Name="TestSet">
<pnp:Terms>
<pnp:Term Name="TestTerm"></pnp:Term>
</pnp:Terms>
</pnp:TermSet>
</pnp:TermSets>
<pnp:Contributors>
<pnp:User Name="{parameter:RootSiteOwner}" /> <!-- will fail with "can't find the user {parameter:RootSiteOwner}" -->
</pnp:Contributors>
<pnp:Managers>
<pnp:User Name="{parameter:RootSiteOwner}" /> <!-- will fail with "can't find the user {parameter:RootSiteOwner}"-->
</pnp:Managers>
</pnp:TermGroup>
</pnp:TermStore>