Forum Discussion
GDPR Activity Hub Installation issue: Provision-GDPRActivyHub.ps1
Hi
I am following the readme.
I have updated Node, Gulp and SPFx, PnPCOmmandlets
I am the Office 365 Owner and Tenant Admin
Before I go "forensic" and setting logging and stepping through the debug, I just wondered if anyone has seen this.
t D:\repo\sp-dev-gdpr-activity-hub\scripts\Provision-GDPRActivityHub.ps1:70 char:9 + Apply-PnPProvisioningTemplate -Path .\GDPR-Activity-Hub-Infor ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], Ser verUnauthorizedAccessException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisio ning.ApplyProvisioningTemplate Apply-PnPProvisioningTemplate : Expected hex 0x in '{0}'. At D:\repo\sp-dev-gdpr-activity-hub\scripts\Provision-GDPRActivityHub.ps1:73 char:9 + Apply-PnPProvisioningTemplate -Path .\GDPR-Activity-Hub-Workf ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], For matException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisio ning.ApplyProvisioningTemplate Configuring the Office 365 CDN Settings Creating CDN Site Collection
... Note I do get the all is well with the world message ;-)
Public CDN enabled locations: */MASTERPAGE (configuration pending) */STYLE LIBRARY (configuration pending) */CLIENTSIDEASSETS (configuration pending) SITES/CDN/CDNFILES (configuration pending) All the automatic steps are now completed! Please proceed with the manual steps documented on the Setup Guide! You can find the .SPPKG file at the following path: D:\repo\sp-dev-gdpr-activity-hub \GDPRStarterKit\sharepoint\solution\gdpr-starter-kit.sppkg
I have get the output from the ISE if this needed.
The following line on line 70 seems to be failing.
Apply-PnPProvisioningTemplate -Path .\GDPR-Activity-Hub-Information-Architecture-Full.xml -Handlers Fields,ContentTypes,Lists,TermGroups
Can you add just before this line the following:
Set-PnPTraceLog -Level Debug -On
This should give a bit more of a clue as to which part of the template is not accepted.
For me the script worked about 2 weeks ago.
- Daniel WesterdaleIron Contributor
Pieter
Ah you beat me to it as I was about to do that. Just being looking a similar issues reported on GIT.
- Daniel WesterdaleIron Contributor
I wasn't added as a Term Store administrator. That'll teach for living inside a client's tenant for the past year! I can see a lot depended on this. I owe you a drink should I bumped into you at ECS2018.