Description
When I rerun the deploy.ps1 script (after facing this error: Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.), I face an error mentioning that the 'same value for property mailNickname already exists.
Here's the full error message:
throw('Failed to create the SharePoint site {0}', $_.Exceptio …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to create the SharePoint site {0} Code: Request_BadRequest Message: Another object with the same value for property mailNickname already
| exists. Details: Detail0: Code: ObjectConflict Message: Another object with the same value for property mailNickname already exists.
| Target: mailNickname Detail1: Code: ConflictingObjects Message: Another object with the same value for property mailNickname already exists.
I though that 'If the script fails for any reason, it can be re-executed as many times as require without the need to delete any resources'? But here it seems that I need to delete the old SP site before reexecuting the script.
But even if I delete the existing sharepoint site and create a new one, I get this error:
Line |
654 | throw('Failed to configure the SharePoint site {0}', $_.Excep …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.
Steps to reproduce
- Run Deploy.ps1
Expected results
The script should have configured the SharePoint site
Actual Results
Line |
654 | throw('Failed to configure the SharePoint site {0}', $_.Excep …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
No response
Description
When I rerun the deploy.ps1 script (after facing this error: Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.), I face an error mentioning that the 'same value for property mailNickname already exists.
Here's the full error message:
throw('Failed to create the SharePoint site {0}', $_.Exceptio …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to create the SharePoint site {0} Code: Request_BadRequest Message: Another object with the same value for property mailNickname already
| exists. Details: Detail0: Code: ObjectConflict Message: Another object with the same value for property mailNickname already exists.
| Target: mailNickname Detail1: Code: ConflictingObjects Message: Another object with the same value for property mailNickname already exists.
I though that 'If the script fails for any reason, it can be re-executed as many times as require without the need to delete any resources'? But here it seems that I need to delete the old SP site before reexecuting the script.
But even if I delete the existing sharepoint site and create a new one, I get this error:
Line |
654 | throw('Failed to configure the SharePoint site {0}', $_.Excep …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.
Steps to reproduce
Expected results
The script should have configured the SharePoint site
Actual Results
Line |
654 | throw('Failed to configure the SharePoint site {0}', $_.Excep …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Failed to configure the SharePoint site {0} The remote server returned an error: (404) Not Found.
Solution component
Deployment Script
Operating system (environment)
Windows
Additional Info
No response