sharepoint / sp-dev-provisioning-templates Goto Github PK
View Code? Open in Web Editor NEWRepository for open-source content packs with the provisioning tooling
License: MIT License
Repository for open-source content packs with the provisioning tooling
License: MIT License
Any date on when Provisioning will be available this year.
I get the following message:
Provisioning is currently disabled due to a maintenance break.
We expect the service to be online again in January 2022.
Hi Team,
I am trying to provision contoso work hub template. I did the following steps,
$SiteURL = "https://xxxxxxxx/sites/hr-works"
$TemplateXML ="D:\tenant\contosoworks\source\template.xml"
#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -Interactive
#Apply provisioning Template
Invoke-PnPSiteTemplate -path $TemplateXML
Getting the warning: Hub association is failed at end of the script.
I am using tenant admin to execute this script. I need a help to provision contoso works template in my environment. what are the steps i have to follow. There is no instruction in github repo also.
Help me to figure out this issue.
I really do apologize if this is not the correct place to post this question, but I have no idea where else I should look.
I am trying to use one of the templates on several sites while rebranding each with its own color theme. The theme itself isn't an issue. What I'm having a problem with is the use of classes such as fontColorThemePrimary and fontColorBlueLight, which are used on some of the elements in text web parts.
I can't find any resource that documents those classes. All I find are classes like ms-fontColor-blueLight. But the only two that seem to work are the two I mentioned above. Anything else either doesn't change the color or somehow gets removed when rendering the page. I took a guess on one by using fontColorYellow and that worked. But fontColororangeLighter didn't (nor did fontColororangeLight or ms-fontColor-sharedOrange10).
Can someone give a little guidance on further customizing these templates?
Thank you!
Cross post from [https://github.com/pnp/PnP-Provisioning-Schema/issues/541]
I was going to use the Global Marketing Template as an example, when used on a new site the communications site template was pulled into the site. Looking at the template, someone injected the comms xml into the global marketing template xml.
sp-dev-provisioning-templates/tenant/globalmarketing/source/template.xml
When looking back at the raw xml it is right but when pulled down it is in correct.
Note if you download the template.xml in the globalmarketing solution there is a section for the comms xml in there.. also there are site assets for it as well in the solution. Somewhere / somehow the solutions got combined?
When adding Microsoft 365 learning pathway from https://lookbook.microsoft.com I get an error that I need to be Tenant Admin. The account I am using is a Global Admin so why am I getting this error. Additionally I have confirmed the requirements for the App Store and language
The full error is listed below:
Provisioning could not be completed
The configuration of your tenant does not satisfy the requirements of the selected template.
Here are the details of missing prerequisites:
In order to provision the template you need Tenant Admin rights. Please ask a Tenant Admin to provision the template for you or to promote yourself to a Tenant Admin.
Please address the missing prerequisites, then try again.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the pr is merged this issue will be closed automatically.
Microsoft teams can learn more about this effort and share feedback within the open source guidance available internally.
Expected or Desired Behavior
Successful deployment of Learning Pathway template running the command:
Apply-PnPTenantTemplate -Path "C:\SharePoint\sp-dev-provisioning-templates\tenant\M365LearningPathways\M365LP.pnp" -Verbose
Observed Behavior
Get an exception that column ows_MediaServiceDateTaken is missing:
Apply-PnPTenantTemplate : Column 'ows_MediaServiceDateTaken' does not exist. It may have been deleted by another user.
/sites/M365LP/SiteAssets
At line:12 char:1
+ Apply-PnPTenantTemplate -Path C:\SharePoint\sp-dev-provisioning-templ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Apply-PnPTenantTemplate], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Tenant.ApplyTenantTemplate
PnP Powershell Module version
3.22.2006.2 SharePointPnPPowerShellOnline
Trace Log
powershell.exe Information: 0 : 2020-07-10 11:49:02.4364 [OfficeDevPnP.Core] [0] [Information] File M365LP.pnp retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:02.4707 [OfficeDevPnP.Core] [0] [Information] File M365LP.pnp retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:02.6975 [OfficeDevPnP.Core] [0] [Information] File M365LP.xml retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.2452 [Provisioning] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:04.2462 [Provisioning] [15] [Information] ProgressDelegate registered 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:04.2462 [Provisioning] [15] [Information] MessagesDelegate registered 1ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:04.6193 [OfficeDevPnP.Core] [0] [Information] File template.en-US.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6199 [OfficeDevPnP.Core] [0] [Information] File template.de-DE.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6209 [OfficeDevPnP.Core] [0] [Information] File template.fr-FR.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6209 [OfficeDevPnP.Core] [0] [Information] File template.ru-RU.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6219 [OfficeDevPnP.Core] [0] [Information] File template.zh-CN.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6219 [OfficeDevPnP.Core] [0] [Information] File template.ja-JP.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6229 [OfficeDevPnP.Core] [0] [Information] File template.pt-BR.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6229 [OfficeDevPnP.Core] [0] [Information] File template.es-ES.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6238 [OfficeDevPnP.Core] [0] [Information] File template.it-IT.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:04.6351 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 5ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:04.6361 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 6ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:04.6461 [Tenant Settings] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:07.9503 [OfficeDevPnP.Core] [0] [Information] File customlearning.sppkg retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:32.2715 [Tenant Settings] [15] [Debug] Code execution scope ended 27625ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:32.3355 [Provisioning] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:49:51.4604 [OfficeDevPnP.Core] [0] [Debug] Starting to wait for site collection to be created 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:51.4613 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:00.000 | Attempt 1/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:51.6645 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:00.202 | Attempt 2/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:49:51.6645 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:00.203 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:06.9207 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:15.460 | Attempt 3/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:06.9217 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:15.460 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:22.1788 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:30.717 | Attempt 4/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:22.1788 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:30.718 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:37.4366 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:45.975 | Attempt 5/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:37.4366 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:45.975 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:52.5916 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:01.129 | Attempt 6/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:50:52.5916 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:01.129 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:51:14.0675 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:22.605 | Attempt 7/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:51:14.0675 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:22.606 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:51:34.6777 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:43.216 | Attempt 8/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:51:34.6777 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:43.216 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:51:58.1272 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:06.666 | Attempt 9/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:51:58.1282 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:06.666 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:52:19.2956 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:27.833 | Attempt 10/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:52:19.2956 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:27.833 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:52:40.7781 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:49.316 | Attempt 11/80 0ms
powershell.exe Information: 0 : 2020-07-10 11:52:40.7781 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:49.316 | Waiting 15 seconds 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:02.9460 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 03:11.484 | Finished 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3827 [OfficeDevPnP.Core] [0] [Information] File template.en-US.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3827 [OfficeDevPnP.Core] [0] [Information] File template.de-DE.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3838 [OfficeDevPnP.Core] [0] [Information] File template.fr-FR.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3838 [OfficeDevPnP.Core] [0] [Information] File template.ru-RU.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3838 [OfficeDevPnP.Core] [0] [Information] File template.zh-CN.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3847 [OfficeDevPnP.Core] [0] [Information] File template.ja-JP.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3847 [OfficeDevPnP.Core] [0] [Information] File template.pt-BR.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3857 [OfficeDevPnP.Core] [0] [Information] File template.es-ES.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:03.3857 [OfficeDevPnP.Core] [0] [Information] File template.it-IT.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5527 [OfficeDevPnP.Core] [0] [Information] File template.en-US.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5530 [OfficeDevPnP.Core] [0] [Information] File template.de-DE.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5543 [OfficeDevPnP.Core] [0] [Information] File template.fr-FR.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5560 [OfficeDevPnP.Core] [0] [Information] File template.ru-RU.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5563 [OfficeDevPnP.Core] [0] [Information] File template.zh-CN.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5573 [OfficeDevPnP.Core] [0] [Information] File template.ja-JP.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5583 [OfficeDevPnP.Core] [0] [Information] File template.pt-BR.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5593 [OfficeDevPnP.Core] [0] [Information] File template.es-ES.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:11.5603 [OfficeDevPnP.Core] [0] [Information] File template.it-IT.resx retrieved from folder 0ms
powershell.exe Information: 0 : 2020-07-10 11:53:22.0698 [Provisioning] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.0698 [Provisioning] [15] [Information] ProgressDelegate registered 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.0698 [Provisioning] [15] [Information] MessagesDelegate registered 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.4914 [Extensibility Providers] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.4914 [Extensibility Providers] [15] [Debug] Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.6548 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.6559 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.6689 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.6689 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:22.6709 [Supported UI Languages] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:23.2061 [Supported UI Languages] [15] [Debug] Code execution scope ended 534ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:23.2061 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:23.2061 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:23.2231 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:23.2231 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:23.2359 [List instances] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:24.0808 [List instances] [15] [Debug] Creating list CustomAssets 845ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:29.2627 [List instances] [15] [Debug] Creating list CustomConfig 6026ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:35.0445 [List instances] [15] [Debug] Creating list CustomPlaylists 11808ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:40.4790 [List instances] [15] [Debug] Updating list {res:List_Events_Title} 17243ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:42.8727 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef Location 19636ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:43.7766 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef EventDate 20540ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:44.6588 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef EndDate 21422ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:45.5496 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef Description 22313ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:46.4731 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef fAllDayEvent 23236ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:47.3939 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef fRecurrence 24158ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:48.3160 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef Category 25079ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:49.6188 [List instances] [15] [Debug] Creating field 68346e2c-4088-426a-852c-1a8eb5d1b4e9 26382ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:50.1527 [List instances] [15] [Debug] Creating field b16430fc-0a86-4a3d-a7ce-e0e85389d064 26917ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:50.8697 [List instances] [15] [Debug] Creating field 0e7c5894-4ce4-4348-bf88-c38242ba573f 27633ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:51.2791 [List instances] [15] [Debug] Creating field 60f173f6-d6fd-4206-9f1e-dd315c691042 28043ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:51.7919 [List instances] [15] [Debug] Creating field e04bbdd0-bd06-40a8-a800-0ca016ee6565 28555ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:52.4201 [List instances] [15] [Debug] Creating field 1d95f212-47ef-4ff3-b4c7-11ca341c7c49 29184ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:52.9177 [List instances] [15] [Debug] Creating field 6f142b0d-688a-485e-8855-ad368f8b5b60 29682ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:53.3378 [List instances] [15] [Debug] Code execution scope ended 30101ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:53.3378 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:53.3378 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:53.3537 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:53.3537 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:53.3537 [List instances] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:54.3054 [List instances] [15] [Debug] Updating list CustomAssets 951ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:53:57.7060 [List instances] [15] [Debug] Updating list CustomConfig 4352ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:01.1504 [List instances] [15] [Debug] Updating list CustomPlaylists 7797ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:04.4957 [List instances] [15] [Debug] Updating list {res:List_Events_Title} 11141ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:06.6407 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef Location 13286ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:07.6690 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef EventDate 14315ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:08.5901 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef EndDate 15236ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:09.4357 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef Description 16082ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:10.3313 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef fAllDayEvent 16977ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:11.1694 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef fRecurrence 17815ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:12.0431 [List instances] [15] [Debug] Updating list {res:List_Events_Title} with FieldRef Category 18689ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:13.6133 [List instances] [15] [Debug] Code execution scope ended 20259ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:13.6133 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:13.6143 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:13.6282 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:13.6282 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:13.6463 [Files] [15] [Debug] Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:14.6292 [OfficeDevPnP.Core] [0] [Information] File Six_Simple_Steps.jpg retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:14.6302 [Files] [15] [Debug] Uploading file Six_Simple_Steps.jpg 984ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:14.6364 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Six_Simple_Steps.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:16.1633 [OfficeDevPnP.Core] [0] [Information] File Office_Training.jpg retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:16.1639 [Files] [15] [Debug] Uploading file Office_Training.jpg 2518ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:16.1639 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Office_Training.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:17.5963 [OfficeDevPnP.Core] [0] [Information] File Recommended_Playlists.jpg retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:17.5963 [Files] [15] [Debug] Uploading file Recommended_Playlists.jpg 3950ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:17.5973 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Recommended_Playlists.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:19.1347 [OfficeDevPnP.Core] [0] [Information] File Get_Started_with_Teams.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:19.1347 [Files] [15] [Debug] Uploading file Get_Started_with_Teams.png 5489ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:19.1347 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Get_Started_with_Teams.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:20.8746 [OfficeDevPnP.Core] [0] [Information] Creating folder 'SitePages' under List '/sites/M365LP/SiteAssets'. 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:21.8526 [OfficeDevPnP.Core] [0] [Information] Creating folder 'SitePages/CLO365_HeroHome' under List '/sites/M365LP/SiteAssets'. 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:22.8198 [OfficeDevPnP.Core] [0] [Information] File 677581477ask-questions.jpg retrieved from folder SiteAssets/SitePages/CLO365_HeroHome 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:22.8198 [Files] [15] [Debug] Uploading file 677581477ask-questions.jpg 9174ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:22.8198 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url '677581477ask-questions.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:24.2164 [OfficeDevPnP.Core] [0] [Information] File Ask_Questions.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:24.2167 [Files] [15] [Debug] Uploading file Ask_Questions.png10570ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:24.2167 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Ask_Questions.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:25.6860 [OfficeDevPnP.Core] [0] [Information] File Get_More_Training.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:25.6860 [Files] [15] [Debug] Uploading file Get_More_Training.png 12040ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:25.6860 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Get_More_Training.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:26.9506 [OfficeDevPnP.Core] [0] [Information] File Contact_Helpdesk.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:26.9519 [Files] [15] [Debug] Uploading file Contact_Helpdesk.png 13305ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:26.9519 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Contact_Helpdesk.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:28.2246 [OfficeDevPnP.Core] [0] [Information] File Join_the_Community.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:28.2246 [Files] [15] [Debug] Uploading file Join_the_Community.png 14578ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:28.2246 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Join_the_Community.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:29.3183 [OfficeDevPnP.Core] [0] [Information] File Get_Started_with_OneDrive.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:29.3194 [Files] [15] [Debug] Uploading file Get_Started_with_OneDrive.png 15673ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:29.3194 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Get_Started_with_OneDrive.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:31.8305 [OfficeDevPnP.Core] [0] [Information] File Ask_Questions_Get_Help.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:31.8305 [Files] [15] [Debug] Uploading file Ask_Questions_Get_Help.png 18185ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:31.8316 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Ask_Questions_Get_Help.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:33.5335 [OfficeDevPnP.Core] [0] [Information] File Get_Started_with_SharePoint.jpg retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:33.5335 [Files] [15] [Debug] Uploading file Get_Started_with_SharePoint.jpg 19887ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:33.5335 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Get_Started_with_SharePoint.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:34.8361 [OfficeDevPnP.Core] [0] [Information] File In_Person_Training.jpg retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:34.8361 [Files] [15] [Debug] Uploading file In_Person_Training.jpg 21190ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:34.8370 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'In_Person_Training.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:37.1558 [OfficeDevPnP.Core] [0] [Information] File Make_Difference_Become_a_Champion.png retrieved from folder SiteAssets 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:37.1558 [Files] [15] [Debug] Uploading file Make_Difference_Become_a_Champion.png 23509ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:37.1566 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url 'Make_Difference_Become_a_Champion.png' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:39.4077 [OfficeDevPnP.Core] [0] [Information] Creating folder 'SitePages/Training-events-calendar' under List '/sites/M365LP/SiteAssets'. 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:40.3295 [OfficeDevPnP.Core] [0] [Information] File 2816-In_Person_Training.jpg retrieved from folder SiteAssets/SitePages/Training-events-calendar 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:40.3305 [Files] [15] [Debug] Uploading file 2816-In_Person_Training.jpg 26684ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:40.3305 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url '2816-In_Person_Training.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:42.0695 [OfficeDevPnP.Core] [0] [Information] Creating folder 'SitePages/Get-started-with-SharePoint' under List '/sites/M365LP/SiteAssets'. 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:42.9914 [OfficeDevPnP.Core] [0] [Information] File 3878-Get_Started_with_SharePoint.jpg retrieved from folder SiteAssets/SitePages/Get-started-with-SharePoint 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:42.9924 [Files] [15] [Debug] Uploading file 3878-Get_Started_with_SharePoint.jpg 29346ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:42.9924 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url '3878-Get_Started_with_SharePoint.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:44.9600 [OfficeDevPnP.Core] [0] [Information] Creating folder 'SitePages/Ask-questions-and-get-help' under List '/sites/M365LP/SiteAssets'. 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:45.9661 [OfficeDevPnP.Core] [0] [Information] File 27550-677581477ask-questions.jpg retrieved from folder SiteAssets/SitePages/Ask-questions-and-get-help 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:45.9664 [Files] [15] [Debug] Uploading file 27550-677581477ask-questions.jpg 32320ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:45.9664 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url '27550-677581477ask-questions.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:48.5217 [OfficeDevPnP.Core] [0] [Information] File 32745-In_Person_Training.jpg retrieved from folder SiteAssets/SitePages/Training-events-calendar 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:48.5217 [Files] [15] [Debug] Uploading file 32745-In_Person_Training.jpg 34876ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:48.5227 [OfficeDevPnP.Core] [0] [Debug] Creating file info with Url '32745-In_Person_Training.jpg' 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:50.7299 [OfficeDevPnP.Core] [0] [Information] Creating folder 'SitePages/Start-with-Six-Simple-Steps' under List '/sites/M365LP/SiteAssets'. 0ms
powershell.exe Information: 0 : 2020-07-10 11:54:51.2388 [Files] [15] [Debug] Code execution scope ended 37592ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2388 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2398 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2398 [Provisioning] [15] [Debug] Code execution scope ended 89170ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2398 [Provisioning] [15] [Debug] Code execution scope ended 318902ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2398 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope started 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2408 [ProvisioningTemplate WebHook Call] [15] [Debug]
Code execution scope ended 0ms 015e195a-5a05-4cac-ab83-0d409051b31a
powershell.exe Information: 0 : 2020-07-10 11:54:51.2410 [Provisioning] [15] [Debug] Code execution scope ended 346994ms 015e195a-5a05-4cac-ab83-0d409051b31a
Apply-PnPTenantTemplate : Column 'ows_MediaServiceDateTaken' does not exist. It may have been deleted by another user.
/sites/M365LP/SiteAssets
At line:12 char:1
+ Apply-PnPTenantTemplate -Path C:\SharePoint\sp-dev-provisioning-templ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Apply-PnPTenantTemplate], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Tenant.ApplyTenantTemplate
Have been trying to deploy the new syntex templates using the powershell, since the web version doesn't support vanity urls.
Is there any way to get this to work.
I get this error
Error details: error invalid_resource error_description:AADSTS500011: The resource principal named https://xxxxxxx was not found in the tenant named xxxCorporation. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You might have sent your authentication request to the wrong tenant. Trace ID: 6d103724-1c74-4758-a70e-xxxxxx Correlation ID: 9183916a-0a75-4479-a8ee-xxx Timestamp: 2022-03-02 22:43:41Z
Hello Pros.
Kindly Assist!
I cannot provision site templates from the web, However, Class Homepage school team site template is not available here for download so I can use pnp.
Please what do i do?
I am attempting to invoke-pnptenanttemplate the SP-Starter-Kit because we would like to sandbox with the demo page layout.
However, it keeps coming back with an error:
Invoke-PnPTenantTemplate : Action 1 (joinHubSite) is invalid. Parameter hubSiteId has an invalid value.
At line:1 char:1
+ Invoke-PnPTenantTemplate -Path .\starterkit.pnp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Invoke-PnPTenantTemplate], ServerException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Tenant.InvokeTenantTemplate
I have tried multiple versions of the PNP Module with no luck. I have verified that all prerequisites are in order, including making sure that the proper user is added as a term admin. I have included a trace output of the script for reference as well. Is anyone else getting this issue?
Any ETA on when Provisioning will be available for Learning Pathways? Getting:
Provisioning is currently disabled due to a maintenance break.
We expect the service to be online again in January 2022.
Not an issue but more of a suggestion given that the lookbook is on a maintenance break and users logging multiple issues asking the same question. Is it possible to have a maintenance calendar so users know when it will be down for maintenance and when it is going to back up. This will allow users to plan and schedule work around the maintenance break and prevent users from logging it as an issue.
Hello
globalsales pnp template is not full applyed to a new site.
Steps to reproduce:
Result:
Provisioning not completed.
Following error message:
WARNING : Hub site association failed: Invalid URI: The URI scheme is not valid.
Hi,
These are great, however I'd like to amend some of the templates and incorporate some further login into the provisioning to do additional things that the templates can't yet do.
Is the code that actually runs the templates and prompts for additional properties (so the code for the site provisioning.sharepointpnp.com) available on git hub? I can't see to find it.
Thx
Steve
During the course of today I've been trying to apply the Benefits & ContosoWorks templates against a couple of sites that have been created in the organizational tenant that I'm responsible for. Although I have previously successfully applied the Benefits template this no longer works and I have seen exactly the same issue with the attempt to apply the ContosoWorks (HR Hub) template.
Below is the cmdlet that I am running, Invoke-PnPSiteTemplate -Path, and as you can see it fails with an invalid Date Time value.
PS C:\Windows\system32> Invoke-PnPSiteTemplate -Path "C:\Users\myacct\client space\Site-Templates - Templates\sp-dev-provisioning-templates-master\tenant\contosoworks\contosoworks.pnp"
Invoke-PnPSiteTemplate : String was not recognized as a valid DateTime.
At line:1 char:1
+ CategoryInfo : WriteError: (:) [Invoke-PnPSiteTemplate], FormatException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.InvokeSiteTemplate
I'm at a loss as to how to resolve this, I've gone down several rabbit holes, thinking that there must be an issue with the data in the XML template file within the package. Attempting to eliminate that as a cause is only creating further errors, so I'm going to see what the community has in the way of suggested solutions.
Thanks
Only 3 of the 13 templates I see in the 'sp-dev-provisioning-templates-master\tenant' folder
are available to me on my tenant for "Create site"". Are the other 10, such as 'LeadershipSite, ContosoDrone Landing',etc... supposedly available since they are in the folder or am I missing something? Apologies if I may have overlooked something but would like to learn what they may have been. Thanks in advance.
The three available.
Contoso Electronics /sites/Contosoportal
Human Resources /sites/Contosohr
Marketing /sites/Contosomarketing
When I try to apply the O365CL.pnp template to a freshly created communication site, I get an "Unable to define an unknown member" error. My user language is french but I've selected english as the site's default language.
The command used is
$template = "C:\LocalDev\sp-dev-provisioning-templates-master\sp-dev-provisioning-templates-master\tenant\O365Learning\O365CL.pnp"
Apply-PnPProvisioningTemplate -Path $template
And the error message is
Apply-PnPProvisioningTemplate : Impossible de définir le membre inconnu
'OfficeDevPnP.Core.Framework.Provisioning.Connectors.OpenXML.Model.PnPProperties.TemplateFileName'.
Au caractère Ligne:12 : 1
+ CategoryInfo : WriteError: (:) [Apply-PnPProvisioningTemplate], XamlObjectWriterException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.ApplyProvisioningTemplate
Version used is
Name Version
SharePointPnPPowerShellOnline 3.7.1903.0
The Contoso@Work Guides
view on the document library uses "Title" as a column. As title is missing from most documents it's better to align with using "Name" as in the default view. This will also allow the list view web part on the home page to look better.
I'd suggest not showing the ID column as well.
the file is corrupted for cloning and the add to tenant button redirect to the GitHub page
When I tried to apply the template to my root tenant site I get following error.
Apply-PnPTenantTemplate : Object reference not set to an instance of an object.
At line:1 char:1
+ CategoryInfo : WriteError: (:) [Apply-PnPTenantTemplate], NullReferenceException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Tenant.ApplyTenantTemplate
Hi,
We're trying to apply a couple templates onto our Communication sites, but are having issues. We have applied several templates with success (e.g. NEO templates loaded properly). When we tried to apply the HR Hub Template, which we believe is the Contoso Works template based on the jpg file, the Benefits template is what is actually loaded.
We also tried loading the Marketing and the same happened. The template applied was Benefits.
Can someone please help? Where can we get the right pnp files for HR Hub and Marketing?
Thank you in advance for your help!
I am wondering how the PnP Provisioning template handles to changes to Content types now that you need to pull them as they will no longer be pushed to a new Site, I have run some tests and it seems like currently the content type needs to be pushed to the site before it can apply them.
Is this going to be updated to accommodate the new Pull requirement?
Hi ,
All of sudden I am getting an error while executing this command Apply-PnPTenantTemplate. Please see error details below
Apply-PnPTenantTemplate : Object reference not set to an instance of an object.
At D:\Script\LMSiteProvisioningToolsAndMaintenance.ps1:29 char:5
Apply-PnPTenantTemplate -Path $path
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steps to reproduce:
Result:
Following error message:
Apply-PnPProvisioningTemplate : Column Limit Exceeded. There are too many columns of the specified data type. Please delete some other columns first. Note that some column types like numbers and currency use the same data type.
initial investigation revealed that Location column adds all its sub fields (i.e. City, street, postcode etc.) to the data type and this create abundance of single line of text type fields.
This breaks deployment with the Message above.
The only solution is to delete Location fields entirely from the template and then reapply them manually to each content type (post deployment).
As the location field is really popular and useful for the customers this renders PnP templating not fully useful in the best case (single large deployment), unfeasible at all in case of dynamic deployments.
Do we have any idea when the service will be back?
Someone more experienced can you leave some step by step instructions on how to manually provision the templates please.
Thanks!
SharePoint Provisioning Is not Authenticating User
Persistently getting bounced to authenticate user dialogue box, even though already logged in.
This apples to situation of:
Signing In to Provisioning https://provisioning.sharepointpnp.com/site/home/login
Add to Tenant
Add to your tenant
Or any of the 'Add to Tenant' Buttons on the various
I have full tenant admin rights.
I have tried in a new tenant created via Dev Community
I have tried in my own long standing tenant
Same result in both
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.