azure-quickstart-templates icon indicating copy to clipboard operation
azure-quickstart-templates copied to clipboard

Sharepoint ADFS DSC Error

Open ShirazC opened this issue 4 months ago • 2 comments

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

ShirazC avatar Nov 02 '25 01:11 ShirazC

@ShirazC this error happens randomly, and it will be handled properly in the next version of this template, that hopefully will be published this month

Yvand avatar Nov 18 '25 10:11 Yvand

@ShirazC FYI, fixed in https://github.com/Azure/azure-quickstart-templates/pull/14640

Yvand avatar Nov 19 '25 16:11 Yvand