Azure / Azure/azure-quickstart-templates
Sharepoint ADFS DSC Error
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
Whenever I try to use the Sharepoint ADFS Template, all VMs succeed except for the SP VM....
I always get the same error every single time.
```
{
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'virtualMachine-SP-dsc' (publisher 'Microsoft.Powershell' and type 'DSC'). Error message: 'DSC Configuration 'ConfigureSPVM' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_SPInstallPrereqs failed to execute Set-TargetResource functionality with error message: The prerequisite installer ran with the following unknown exit code -2147467259 PowerShell DSC resource MSFT_SPFarm failed to execute Test-TargetResource functionality with error message: SharePoint path {C:\\Program Files\\Common Files\\microsoft shared\\Web Server Extensions} does not exist The SendConfigurationApply function did not succeed. LCM failed to start desired state configuration manually.'. More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot. "
}
```
My inputs are below:
rdpTrafficRule
Internet
outboundAccessMethod
PublicIPAddress
addNameToPublicIpAddresses
Yes
enableAzureBastion
false
enableHybridBenefitServerLicenses
false
timeZone
Romance Standard Time
autoShutdownTime
1900
vmDcSize
Standard_D2s_v6
vmDcStorage
StandardSSD_LRS
vmSqlSize
Standard_D4ds_v6
vmSqlStorage
Premium_LRS
vmSharePointSize
Standard_D4s_v6
vmSharePointStorage
StandardSSD_LRS
_artifactsLocation
https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/sharepoint/sharepoint-adfs/azuredeploy.json
_artifactsLocationSasToken
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with application-workloads/sharepoint/sharepoint-adfs/azuredeploy.json and the ConfigureSPVM DSC configuration. Reproduce the deployment, then investigate the MSFT_SPInstallPrereqs unknown exit code and the missing SharePoint path reported for MSFT_SPFarm. Done means the SharePoint VM completes provisioning without these DSC errors.
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
- 35/100