provision-assist-m365 icon indicating copy to clipboard operation
provision-assist-m365 copied to clipboard

Deploy.ps script fails at configuring sharepoint site

Open damianmayer opened this issue 11 months ago • 7 comments

Description

Scipt fails at Applying provisioning template... to the SharePoint site.

Tried amending the wait timeout in the script from 60 to 120 and even 180 seconds - in each case it fails at this point with:

Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found. At C:\provision-assist-m365\Source\Scripts\deploy.ps 1:682 char:9

  •     throw('Failed to configure the SharePoint site {0}', $_.Excep ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (System.Object[]:Object[]) [], RuntimeException
    • FullyQualifiedErrorId : Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.

When timeout was set to 120 seconds or greater I am able to see the site being created in the SharePoint admin centre prior to the timeout error

Steps to reproduce

Expected results

site should be configured by the script

Actual Results

Script fails and I have a partial deployment - site is created but not configured.

Solution component

Deployment Script

Operating system (environment)

Windows

Additional Info

No response

damianmayer avatar Aug 03 '23 12:08 damianmayer