Describe the bug
When I run the command to deploy:
- New-AzResourceGroupDeployment -ResourceGroupName <> -TemplateFile .\azuredeploy.json
It fails with different error messages, i tried twice in "west europe" and once in "north europe" and once in "southcentralus"
I dont think its linked to location, but maybe timeout/network
Fail no 1 (west europe)
New-AzResourceGroupDeployment : 13:30:09 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(
s).
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'Set
upVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to e
xecute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server r
eturned an error: (404) Not Found. The SendConfigurationApply function did not succeed. LCM failed to start desired st
ate configuration manually."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtension
ProvisioningError)
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'Se
tupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed t
o execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disa
bled or because it has no enabled devices associated with it.
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 (Code:VMExtension
ProvisioningError)
CorrelationId: fe533e40-b629-49ce-afa9-70268aca13a1
At line:1 char:1
- New-AzResourceGroupDeployment -ResourceGroupName Sentinel-1 -Template ...
-
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
loymentCmdlet
Fail no 2 (west europe)
New-AzResourceGroupDeployment : 14:31:06 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(
s).
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'Se
tupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed t
o execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disa
bled or because it has no enabled devices associated with it.
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 (Code:VMExtension
ProvisioningError)
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'Set
upVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to e
xecute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server r
eturned an error: (404) Not Found. The SendConfigurationApply function did not succeed. LCM failed to start desired st
ate configuration manually."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtension
ProvisioningError)
CorrelationId: 22963a07-b1c1-4fdb-9673-b26ed09e0bae
At line:1 char:1
- New-AzResourceGroupDeployment -ResourceGroupName Sentinel-1 -Template ...
-
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
loymentCmdlet
Fail no 3 (north europe)
New-AzResourceGroupDeployment : 16:11:49 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(
s).
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'Set
upVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to e
xecute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server r
eturned an error: (404) Not Found. The SendConfigurationApply function did not succeed. LCM failed to start desired st
ate configuration manually."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtension
ProvisioningError)
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'Se
tupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed t
o execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disa
bled or because it has no enabled devices associated with it.
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 (Code:VMExtension
ProvisioningError)
CorrelationId: 5719a145-5ffa-45e6-aefe-9ee1529e33b7
At line:1 char:1
- New-AzResourceGroupDeployment -ResourceGroupName Sentinel-rh -Templat ...
-
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDep
loymentCmdlet
Fail no 4 (southcentralus)
New-AzResourceGroupDeployment : 19:36:20 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(s).
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'SetupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
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 (Code:VMExtensionProvisioningError)
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'SetupVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to execute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server returned an error: (404) Not Found. 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 (Code:VMExtensionProvisioningError)
CorrelationId: 73513d95-1ec0-4ca7-86f1-94fad8e462f0
At line:1 char:1
- New-AzResourceGroupDeployment -ResourceGroupName Sentinel-2 -Template ...
-
- CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
- FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet
To Reproduce
Steps to reproduce the behavior:
- Download repo
- Start Powershell (version 5.1.18362.1110)
- Go to repo (.\DefendTheFlag)
- New-AzResourceGroupDeployment -ResourceGroupName <> -TemplateFile .\azuredeploy.json
Describe the bug
When I run the command to deploy:
It fails with different error messages, i tried twice in "west europe" and once in "north europe" and once in "southcentralus"
I dont think its linked to location, but maybe timeout/network
Fail no 1 (west europe)
New-AzResourceGroupDeployment : 13:30:09 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(
s).
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'Set
upVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to e
xecute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server r
eturned an error: (404) Not Found. The SendConfigurationApply function did not succeed. LCM failed to start desired st
ate configuration manually."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtension
ProvisioningError)
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'Se
tupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed t
o execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disa
bled or because it has no enabled devices associated with it.
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 (Code:VMExtension
ProvisioningError)
CorrelationId: fe533e40-b629-49ce-afa9-70268aca13a1
At line:1 char:1
Fail no 2 (west europe)
New-AzResourceGroupDeployment : 14:31:06 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(
s).
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'Se
tupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed t
o execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disa
bled or because it has no enabled devices associated with it.
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 (Code:VMExtension
ProvisioningError)
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'Set
upVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to e
xecute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server r
eturned an error: (404) Not Found. The SendConfigurationApply function did not succeed. LCM failed to start desired st
ate configuration manually."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtension
ProvisioningError)
CorrelationId: 22963a07-b1c1-4fdb-9673-b26ed09e0bae
At line:1 char:1
Fail no 3 (north europe)
New-AzResourceGroupDeployment : 16:11:49 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(
s).
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'Set
upVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to e
xecute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server r
eturned an error: (404) Not Found. The SendConfigurationApply function did not succeed. LCM failed to start desired st
ate configuration manually."
More information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot (Code:VMExtension
ProvisioningError)
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'Se
tupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed t
o execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disa
bled or because it has no enabled devices associated with it.
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 (Code:VMExtension
ProvisioningError)
CorrelationId: 5719a145-5ffa-45e6-aefe-9ee1529e33b7
At line:1 char:1
Fail no 4 (southcentralus)
New-AzResourceGroupDeployment : 19:36:20 - The deployment 'azuredeploy' failed with error(s). Showing 2 out of 2 error(s).
Status Message: VM has reported a failure when processing extension 'AdminPcDsc'. Error message: "DSC Configuration 'SetupAdminPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource failed to execute Set-TargetResource functionality with error message: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
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 (Code:VMExtensionProvisioningError)
Status Message: VM has reported a failure when processing extension 'VictimDsc'. Error message: "DSC Configuration 'SetupVictimPc' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_xRemoteFile failed to execute Set-TargetResource functionality with error message: Invoking web request failed with error. The remote server returned an error: (404) Not Found. 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 (Code:VMExtensionProvisioningError)
CorrelationId: 73513d95-1ec0-4ca7-86f1-94fad8e462f0
At line:1 char:1
To Reproduce
Steps to reproduce the behavior: