Forum Discussion
Apply-SPOProvisioningTemplate : This operation is invalid in the HashTags term set.
I'm using Get-SPOProvisioningTemplate to export my site and I'm including all termgroups.
The export is workign fine.
When I'm applying the template I'm getting this:
Apply-SPOProvisioningTemplate : This operation is invalid in the HashTags term set. The operation failed.
the Hastags termset is refering to the Hashtags shown in the below screen shot (under the System Terms). This comes with the default contoso sites (as created with an Office 365 demo from demos.microsoft.com).
Should PnP be able handle (maybe even ignore) these hashtags?
VesaJuvonen, What is the recommended approach for this?
I'm trying to use the .pnp file format but I can't easily edit this. Or should I switch over to the .xml format where I can manually edit and remove the terms that I don't want to import.
- Deleted
I think it is a issue in the illigal chars of the termgroups. can you also post your export to take a look.
Hi Deleted, I'm not sure if it is the invalid characters. I noticed that when I go the admin center there 'termgroups' don't seem to be normal termgroups. So it could also simply be that an operation doesn't exist on this type of term group.
I'm guessing that -ExcludeSystemTerms would be a good option to add to the ProvisioingTemplate CmdLets. Or maybe even -ExcludeTermGroup
- Deleted
That is true Pieter did not think of that one.