Azure / Azure/azure-quickstart-templates

sharepoint-three-vm deployment errors

Open
#3,980 6 comments 3 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

sharepoint-three-vm
### Issue Details
Attempted to deploy the sharepoint-three-vm template and received the following error:

New-AzureRmResourceGroupDeployment : 11:13:54 AM - Resource Microsoft.Resources/deployments 'ProvisioningSharepointVM'
failed with message '{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details.
Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "Conflict",
"message": "{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\":
\"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state
'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n
\"message\": \"VM has reported a failure when processing extension 'ConfigureSPServer'. Error message: \\\"The DSC
Extension received an incorrect input: An error occurred while executing script or module
'PrepareSharePointServer.ps1': At C:\\\\Packages\\\\Plugins\\\\Microsoft.Powershell.DSC\\\\2.71.1.0\\\\DSCWork\\\\Prep
areSharePointServer.ps1.0\\\\PrepareSharePointServer.ps1:16 char:80\\r\\n+ Import-DscResource -ModuleName
xComputerManagement, xDisk,cDisk,xNetworking\\r\\n+
~\\nUnable to load module 'xComputerManagement': module not found.\\r\\n\\r\\nAt C:\\\\Packages\\\\Plugins\
\\\Microsoft.Powershell.DSC\\\\2.71.1.0\\\\DSCWork\\\\PrepareSharePointServer.ps1.0\\\\PrepareSharePointServer.ps1:6
char:1\\r\\n+ {\\r\\n+ ~\\nMissing closing '}' in statement block.\\r\\n\\r\\nAt C:\\\\Packages\\\\Plugins\\\\Microsoft
.Powershell.DSC\\\\2.71.1.0\\\\DSCWork\\\\PrepareSharePointServer.ps1.0\\\\PrepareSharePointServer.ps1:53
char:1\\r\\n+ }\\r\\n+ ~\\nUnexpected token '}' in expression or statement.\\r\\n\\r\\n.\\nPlease correct the input
and retry executing the extension.\\\".\"\r\n }\r\n ]\r\n }\r\n}"
}
]
}
]
}
}'

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the sharepoint-three-vm template and PrepareSharePointServer.ps1, then reproduce the Azure deployment to examine the DSC extension failure. Done means the template deploys without the ConfigureSPServer errors for the missing xComputerManagement module and syntax block.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.