pnp / sp-starter-kit

Modern SharePoint Starter Kit - End-to-end showcase solution to get started with modern experiences.
MIT License
759 stars 534 forks source link

Exception while invoking endpoint #397

Closed jonasbjo closed 4 years ago

jonasbjo commented 4 years ago

Category

Describe the bug

Expected or Desired Behavior

Completed provisioning would have been expected.

Observed Behavior

All webparts are created. It did create the communication site Contoso Electronics but it did not do anything to it (still default communication site)

Steps to Reproduce

Apply-PnPTenantTemplate -Path .\starterkit.pnp WARNING: An OAuth permission with the resource Microsoft Graph and scope Sites.Read.All already exists. Parameter name: permissionRequest WARNING: An OAuth permission with the resource Microsoft Graph and scope Group.ReadWrite.All already exists. Parameter name: permissionRequest WARNING: An OAuth permission with the resource Microsoft Graph and scope People.Read already exists. Parameter name: permissionRequest Apply-PnPTenantTemplate : Exception while invoking endpoint https://login.microsoftonline.com/788d46f4-675a-46ec-9082-851a36ae5843/oauth2/token. At line:1 char:1

Environment Details (Development & Target environment)

Starter kit version: V2 OS: Windows 10 Target Environment: SharePoint Online Browser(s): Chrome v79 Latest PNP Online: 3.21.2005.2

Thanks for your contribution! Sharing is caring.

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

jonasbjo commented 4 years ago

I tried connect-PnPOnline -Url https://xxxxxxxx.sharepoint.com -PnPO365ManagementShell and re-ran the Apply-PnPTenantTemplate -Path .\starterkit.pnp. It passed "Tenant settings", "Term Groups", and broke during "Sequences" and and the last thing flashing by was "Processing - Creating Team Site contosohr" then this:

Apply-PnPTenantTemplate : Value cannot be null. Parameter name: description At line:1 char:1

eoverfield commented 4 years ago

Glad to hear you were able to address the authentication issue.

The new error appears to be a duplicate of 393, which we are still working on. https://github.com/pnp/sp-starter-kit/issues/393

jonasbjo commented 4 years ago

Hi, this is the latest when I enabled debug:

PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:14.5748 [OfficeDevPnP.Core] [0] [Information] File react-command-discuss-now.sppkg retrieved from folder ..\source\react-command-discuss-now\sharepoint\solution 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:22.0916 [OfficeDevPnP.Core] [0] [Information] File collabteamsite.json retrieved from folder resources 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:23.0501 [OfficeDevPnP.Core] [0] [Information] File collabcommunicationsite.json retrieved from folder resources 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:25.0736 [Tenant Settings] [16] [Debug] Code execution scope ended 222684ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:25.0746 [Term Groups] [16] [Debug] Code execution scope started 0ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:26.1448 [Term Groups] [16] [Debug] Code execution scope ended 1069ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:26.1458 [Provisioning] [16] [Debug] Code execution scope started 0ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5846 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.en-us.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5856 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.es-es.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5874 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.fr-fr.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5874 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.de-de.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5884 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.nl-nl.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5884 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.nb-no.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5894 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.sv-se.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:27.5894 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.tr-tr.resx retrieved from folder 0ms PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:30.0828 [Provisioning] [16] [Debug] Code execution scope ended 3936ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:30.0847 [ProvisioningTemplate WebHook Call] [16] [Debug] Code execution scope started 0ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:30.0853 [ProvisioningTemplate WebHook Call] [16] [Debug] Code execution scope ended 0ms 05983c38-40af-4bb6-9009-01df5b234aef PowerShell_ISE.exe Information: 0 : 2020-05-28 16:26:30.0853 [Provisioning] [16] [Debug] Code execution scope ended 227704ms 05983c38-40af-4bb6-9009-01df5b234aef Apply-PnPTenantTemplate : Value cannot be null. Parameter name: description At line:1 char:1

From: Eric Overfield notifications@github.com Sent: den 28 maj 2020 16:16 To: pnp/sp-starter-kit sp-starter-kit@noreply.github.com Cc: Jonas Björkander jonas@bjorkander.se; Author author@noreply.github.com Subject: Re: [pnp/sp-starter-kit] Exception while invoking endpoint (#397)

Glad to hear you were able to address the authentication issue.

The new error appears to be a duplicate of 393, which we are still working on. #393https://github.com/pnp/sp-starter-kit/issues/393

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/pnp/sp-starter-kit/issues/397#issuecomment-635377297, or unsubscribehttps://github.com/notifications/unsubscribe-auth/API2GWL7IERKMTFQZ6RPYHTRTZW2RANCNFSM4NM45DZQ.

C2 - Internal and Partner

memphis11 commented 4 years ago

Hi,

have the same problem with "VALUE CANNOT BE NULL. Is there already a solution here? Parameter name: description

greeting Lars

memphis11 commented 4 years ago

Hi,

was able to solve the problem as follows. Edited the ... \ source \ templates \ starterkit.xml file in which I added the description.

Then recreated this: $ kit = Read-PnPTenantTemplate -Path ... \ source \ templates \ starterkit.xml Save-PnPTenantTemplate -Template $ kit -Out yourstarterkit.pnp Apply-PnPTenantTemplate -Path yourstarterkit.pnp

With this I was able to successfully carry out the deployment

greeting Lars

eoverfield commented 4 years ago

@memphis11 that is interesting, could you provide insight into where you had to add a description property? Or could you provide a PR with how you updated starterkit.xml? Lastly, what version of PnP PS are you using?

memphis11 commented 4 years ago

Hello,

yes of course...

PnP Version is: Name Version


SharePointPnPPowerShellOnline 3.21.2005.2 SharePointPnPPowerShellOnline 3.19.2003.0

I have adjusted the following values in the xml File: (Lines 107 to 134)

greetings Lars
eoverfield commented 4 years ago

Thanks, interesting. there is a possibility your system was using 3.19.2003.0 to provisioning the kit. That should actually be ok. I suggest uninstalling that version as it rarely helps to have two versions of pnp ps installed.

I will review adding those descriptions and test out if you provide a PR, or let me know and we can get into backlog.

Thanks for offering the solution.

fmeloSP commented 4 years ago

Has this been addressed yet? i too am getting the error: Apply-PnPTenantTemplate : Exception while invoking endpoint https://login.microsoftonline.com/bc07db17-99cb-4e23-ad59-68379aeead77/oauth2/token.

eoverfield commented 4 years ago

@fmeloSP The endpoint in question is part of your authorization. You are likely using MFA? If so, thus far we have not seen MFA work with the PnP Provisioning template.

fmeloSP commented 4 years ago

@fmeloSP The endpoint in question is part of your authorization. You are likely using MFA? If so, thus far we have not seen MFA work with the PnP Provisioning template.

HI Eric, long time. I am not using MFA. this is my personal dev tenant. What else could it be?

eoverfield commented 4 years ago

The account you are using is a SharePoint tenant admin? Could you also enable debug logging in powershelll and provide a capture of the last set of messages logged?

fmeloSP commented 4 years ago

It’s the ga account. Onmicrosoft.com. It’s a dev tenant.

On Mon, Jun 1, 2020 at 10:12 AM Eric Overfield notifications@github.com wrote:

The account you are using is a SharePoint tenant admin? Could you also enable debug logging in powershelll and provide a capture of the last set of messages logged?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pnp/sp-starter-kit/issues/397#issuecomment-636993541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFN5J5QMHOYKZTIU5EIF7MLRUPOQRANCNFSM4NM45DZQ .

-- Sent from my iBrain

fmeloSP commented 4 years ago

The account you are using is a SharePoint tenant admin? Could you also enable debug logging in powershelll and provide a capture of the last set of messages logged?

Sad to say i am not that fancy in powershell yet. how do i enable the debug?

eoverfield commented 4 years ago

Set-PnPTraceLog -On -Level Debug

In case you would like more details as well: https://github.com/pnp/sp-starter-kit/blob/master/documentation/common-provision-results.md

bluetopp commented 4 years ago

I have the same error with Apply-PnPTenantTemplate : Exception while invoking endpoint https://login.microsoftonline.com/bc07db17-99cb-4e23-ad59-68379aeead77/oauth2/token.

I solved it by downgrading SharePointPnPPowerShellOnline to version 3.16.1912.0 instead of the 3.22.2006.2 and downgrade to 2019/09 provisioningschema in the starterkit.xml to get it working.

fmeloSP commented 4 years ago

how do you downgrade?

On Fri, Jun 12, 2020 at 6:37 AM Kjetil notifications@github.com wrote:

I have the same error with Apply-PnPTenantTemplate : Exception while invoking endpoint https://login.microsoftonline.com/bc07db17-99cb-4e23-ad59-68379aeead77/oauth2/token .

I solved it by downgrading SharePointPnPPowerShellOnline to version 3.16.1912.0 instead of the 3.22.2006.2 and downgrade to 2019/09 provisioningschema in the starterkit.xml to get it working.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pnp/sp-starter-kit/issues/397#issuecomment-643275014, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFN5J5WFOFTKYJGW22LGGEDRWIVTPANCNFSM4NM45DZQ .

ecanales88 commented 4 years ago

Hello team I have de same issue when try to deploy SharePoint StarterKit v2. I create another .xml like memphis11 wrote.

My SharePointPnPPowerShellOnline version 3.22.2006.1

Issue: Apply-PnPTenantTemplate : Exception while invoking endpoint https://login.microsoftonline.com/e349f320-0c86-4b66-aa08-7d55530d25d8/oauth2/token. At line:1 char:1

Logs: Apply-PnPTenantTemplate -Path .\contosoStarterKit.pnp powershell.exe Information: 0 : 2020-06-12 16:18:53.5744 [OfficeDevPnP.Core] [0] [Information] File contosoStarterKit.pnp retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:53.6794 [OfficeDevPnP.Core] [0] [Information] File contosoStarterKit.pnp retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.3253 [OfficeDevPnP.Core] [0] [Information] File contosoStarterKit.xml retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5589 [Provisioning] [10] [Debug] Code execution scope started 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:18:54.5636 [Provisioning] [10] [Information] ProgressDelegate registered 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:18:54.5636 [Provisioning] [10] [Information] MessagesDelegate registered 1ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:18:54.5766 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.en-US.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5771 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.es-ES.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5771 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.fr-FR.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5781 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.de-DE.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5781 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.nl-NL.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5781 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.nb-NO.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5791 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.sv-SE.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5791 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.tr-TR.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:18:54.5801 [ProvisioningTemplate WebHook Call] [10] [Debug] Code execution scope started 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:18:54.5818 [ProvisioningTemplate WebHook Call] [10] [Debug] Code execution scope ended 1ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:18:54.5919 [Tenant Settings] [10] [Debug] Code execution scope started 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:18:58.6318 [OfficeDevPnP.Core] [0] [Information] File library-starter-kit-shared.sppkg retrieved from folder ..\source\library-starter-kit-shared\sharepoint\solution 0ms

powershell.exe Information: 0 : 2020-06-12 16:19:24.1155 [OfficeDevPnP.Core] [0] [Information] File react-banner.sppkg retrieved from folder ..\source\react-banner\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:19:56.3453 [OfficeDevPnP.Core] [0] [Information] File react-followed-sites.sppkg retrieved from folder ..\source\react-followed-sites\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:20:24.1909 [OfficeDevPnP.Core] [0] [Information] File react-links.sppkg retrieved from folder ..\source\react-links\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:20:53.0843 [OfficeDevPnP.Core] [0] [Information] File react-lob-integration.sppkg retrieved from folder ..\source\react-lob-integration\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:21:11.6849 [OfficeDevPnP.Core] [0] [Information] File react-people-directory.sppkg retrieved from folder ..\source\react-people-directory\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:21:42.9440 [OfficeDevPnP.Core] [0] [Information] File react-personal-calendar.sppkg retrieved from folder ..\source\react-personal-calendar\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:22:14.4673 [OfficeDevPnP.Core] [0] [Information] File react-personal-contacts.sppkg retrieved from folder ..\source\react-personal-contacts\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:22:38.1253 [OfficeDevPnP.Core] [0] [Information] File react-personal-email.sppkg retrieved from folder ..\source\react-personal-email\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:23:06.4940 [OfficeDevPnP.Core] [0] [Information] File react-personal-tasks.sppkg retrieved from folder ..\source\react-personal-tasks\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:23:25.5177 [OfficeDevPnP.Core] [0] [Information] File react-recent-contacts.sppkg retrieved from folder ..\source\react-recent-contacts\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:23:46.4179 [OfficeDevPnP.Core] [0] [Information] File react-recently-used-documents.sppkg retrieved from folder ..\source\react-recently-used-documents\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:24:24.5428 [OfficeDevPnP.Core] [0] [Information] File react-recently-visited-sites.sppkg retrieved from folder ..\source\react-recently-visited-sites\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:24:47.0690 [OfficeDevPnP.Core] [0] [Information] File react-site-information.sppkg retrieved from folder ..\source\react-site-information\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:25:06.3699 [OfficeDevPnP.Core] [0] [Information] File react-tiles.sppkg retrieved from folder ..\source\react-tiles\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:25:50.6759 [OfficeDevPnP.Core] [0] [Information] File react-weather.sppkg retrieved from folder ..\source\react-weather\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:26:08.4165 [OfficeDevPnP.Core] [0] [Information] File react-world-clock.sppkg retrieved from folder ..\source\react-world-clock\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:26:22.8654 [OfficeDevPnP.Core] [0] [Information] File react-application-collab-footer.sppkg retrieved from folder ..\source\react-application-collab-footer\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:26:44.1884 [OfficeDevPnP.Core] [0] [Information] File react-application-portal-footer.sppkg retrieved from folder ..\source\react-application-portal-footer\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:27:10.6771 [OfficeDevPnP.Core] [0] [Information] File js-application-redirect.sppkg retrieved from folder ..\source\js-application-redirect\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:27:29.9968 [OfficeDevPnP.Core] [0] [Information] File react-application-alerts.sppkg retrieved from folder ..\source\react-application-alerts\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:27:46.8352 [OfficeDevPnP.Core] [0] [Information] File react-command-discuss-now.sppkg retrieved from folder ..\source\react-command-discuss-now\sharepoint\solution 0ms powershell.exe Information: 0 : 2020-06-12 16:28:05.3735 [OfficeDevPnP.Core] [0] [Information] File collabteamsite.json retrieved from folder resources 0ms powershell.exe Information: 0 : 2020-06-12 16:28:08.0532 [OfficeDevPnP.Core] [0] [Information] File collabcommunicationsite.json retrieved from folder resources 0ms powershell.exe Information: 0 : 2020-06-12 16:28:13.0766 [Tenant Settings] [10] [Debug] Code execution scope ended 558489ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:28:13.1683 [Term Groups] [10] [Debug] Code execution scope started 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:28:16.7622 [Term Groups] [10] [Debug] Code execution scope ended 3598ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:28:16.8440 [Provisioning] [10] [Debug] Code execution scope started 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:28:35.3043 [OfficeDevPnP.Core] [0] [Debug] Starting to wait for site collection to be created 0ms powershell.exe Information: 0 : 2020-06-12 16:28:35.3069 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:00.000 | Attempt 1/80 0ms powershell.exe Information: 0 : 2020-06-12 16:28:35.5768 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:00.269 | Attempt 2/80 0ms powershell.exe Information: 0 : 2020-06-12 16:28:35.5788 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:00.271 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:28:50.8493 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:15.542 | Attempt 3/80 0ms powershell.exe Information: 0 : 2020-06-12 16:28:50.8513 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:15.543 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:29:06.1660 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:30.858 | Attempt 4/80 0ms powershell.exe Information: 0 : 2020-06-12 16:29:06.1723 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:30.864 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:29:21.4693 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:46.161 | Attempt 5/80 0ms powershell.exe Information: 0 : 2020-06-12 16:29:21.4707 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 00:46.162 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:29:36.7337 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:01.426 | Attempt 6/80 0ms powershell.exe Information: 0 : 2020-06-12 16:29:36.7351 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:01.428 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:29:57.3895 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:22.081 | Attempt 7/80 0ms powershell.exe Information: 0 : 2020-06-12 16:29:57.3895 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:22.082 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:30:19.9614 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:44.654 | Attempt 8/80 0ms powershell.exe Information: 0 : 2020-06-12 16:30:19.9709 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 01:44.663 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:30:39.6753 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:04.367 | Attempt 9/80 0ms powershell.exe Information: 0 : 2020-06-12 16:30:39.6764 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:04.369 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:31:00.6173 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:25.309 | Attempt 10/80 0ms powershell.exe Information: 0 : 2020-06-12 16:31:00.6188 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:25.311 | Waiting 15 seconds 0ms powershell.exe Information: 0 : 2020-06-12 16:31:22.1313 [OfficeDevPnP.Core] [0] [Debug] Elapsed: 02:46.824 | Finished 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9427 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.en-US.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9460 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.es-ES.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9487 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.fr-FR.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9507 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.de-DE.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9527 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.nl-NL.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9583 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.nb-NO.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9609 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.sv-SE.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:26.9645 [OfficeDevPnP.Core] [0] [Information] File resources\resources-core.tr-TR.resx retrieved from folder 0ms powershell.exe Information: 0 : 2020-06-12 16:31:34.9749 [Provisioning] [10] [Debug] Code execution scope ended 198123ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:31:34.9765 [ProvisioningTemplate WebHook Call] [10] [Debug] Code execution scope started 0ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:31:34.9782 [ProvisioningTemplate WebHook Call] [10] [Debug] Code execution scope ended 2ms d69fb73e-41c8-4cda-a819-447f21128af1 powershell.exe Information: 0 : 2020-06-12 16:31:34.9814 [Provisioning] [10] [Debug] Code execution scope ended 760417ms d69fb73e-41c8-4cda-a819-447f21128af1

bluetopp commented 4 years ago

@fmeloSP

Uninstall-Module -Name "SharePointPnPPowerShellOnline" -AllVersions Install-Module -Name "SharePointPnPPowerShellOnline" -RequiredVersion 3.16.1912.0

i have used 3.16.1912.0 in the past without issues, but there might be a newer version that should work without this specific issue though. this one is for me very slow in creating sites.. note that you might change something in the starterkit.xml since not every tag might be supported. i had to remove something but cant quite remember what it was. dont forget to change to 2019/09 at the top in the .xml file, since 2020/02 is not supported in this version

ecanales88 commented 4 years ago

Is there a way to clean all sites generated by starterkit deploy?

Thanks

eoverfield commented 4 years ago

We recently pushed a few bug fixes to address provisioning issues, in particular 401 (#401). Please pull the latest master and see how that works for you.

Also, I had problems installing the kit with PnP PS version 3.22.2006.2. I suggest removing all versions of SharePointPnPPowerShellOnline on your workstation, then installing April 2020 release as a test (3.20.2004.0) i.e.

Install-Module -Name "SharePointPnPPowerShellOnline" -RequiredVersion 3.20.2004.0

@ecanales88 there is no automated way to remove the sites the kit deploys. The easiest way is with the SP Admin center, i.e. https://{{yourtenant}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx

bluetopp commented 4 years ago

Tested with version 3.20.2004.0 and it seems to be working well

xaviayala commented 4 years ago

Also had issues running on PS version 3.22.2006.2...

It all worked like a charm.

Thank you.