Open VinceThompson opened 3 years ago
Sorry to chase but i am trying to deploy this for a customer so i can demo WVD, could someone please have a look at my issue above and let me know ASAP. I really appreciate the help.
Thanks
@stgeorgi Do you have any idea or where i can look to see what this error is, it seems to imply a missing '}' but cannot find out where. I have not amended the code in anyway.
Really need some help.
Thanks again
Can you please share the Azure RunBook logs? The error here seems strange as if there was indeed a missing } how were all the other deployments working...something in the input is breaking the validation
@stgeorgi I will get the logs. Don't suppose you have a solution doing all this via terraform using the latest WVD azurerm?
@VinceThompson Are you still facing this issue? Were you able to get the logs?
Based on another investigation and if this was done on a subscription with existing AD DS failed because it could not join the VM to AD DS. Option one is to manually domain join the vm and re-run option is to fix the DNS server to resolve the AD DS.
I have the following error when it get's to the WindowsCustomScriptExtension. Can anyone help me? I have not edited the code in anyway so not sure why this is not working.
2020-10-06T16:08:09.3629414Z [91mNew-AzResourceGroupDeployment: [0m/home/vsts/work/1/s/SharedDeploymentFunctions/Invoke-GeneralDeployment.ps1:76 2020-10-06T16:08:09.3631059Z [96mLine | 2020-10-06T16:08:09.3632064Z [96m 76 | [0m … eployment = [96mNew-AzResourceGroupDeployment @DeploymentInputs -Resource[0m … 2020-10-06T16:08:09.3633055Z [96m | [91m
~~~~~~~~~~~~~ 2020-10-06T16:08:09.3634035Z [91m[96m | [91m16:08:09 - Resource 2020-10-06T16:08:09.3634893Z [96m | [91mMicrosoft.Compute/virtualMachines/extensions 2020-10-06T16:08:09.3635766Z [96m | [91m'QS-WVD-VM001/WindowsCustomScriptExtension' failed with 2020-10-06T16:08:09.3636713Z [96m | [91mmessage '{ "status": "Failed", "error": { "code": 2020-10-06T16:08:09.3637782Z [96m | [91m"ResourceDeploymentFailure", "message": "The resource 2020-10-06T16:08:09.3638709Z [96m | [91moperation completed with terminal provisioning state 2020-10-06T16:08:09.3639608Z [96m | [91m'Failed'.", "details": [ { "code": 2020-10-06T16:08:09.3641835Z [96m | [91m"VMExtensionProvisioningError", "message": "VM has 2020-10-06T16:08:09.3660229Z [96m | [91mreported a failure when processing extension 2020-10-06T16:08:09.3660838Z [96m | [91m'WindowsCustomScriptExtension'. Error message: \"Command 2020-10-06T16:08:09.3663656Z [96m | [91mexecution finished, but failed because it returned a non-zero 2020-10-06T16:08:09.3664292Z [96m | [91mexit code of: '1'. The command had an error output of: 2020-10-06T16:08:09.3664879Z [96m | [91m'Missing closing '}' in statement block or type 2020-10-06T16:08:09.3665471Z [96m | [91mdefinition.\r\n + CategoryInfo : ParserError: (:) 2020-10-06T16:08:09.3666082Z [96m | [91m[], ParentContainsErrorRecordException\r\n + 2020-10-06T16:08:09.3666617Z [96m | [91mFullyQualifiedErrorId : MissingEndCurlyBrace\r\n 2020-10-06T16:08:09.3667184Z [96m | [91m\r\n'\"\r\n\r\nMore information on troubleshooting is 2020-10-06T16:08:09.3667768Z [96m | [91mavailable at https://aka.ms/VMExtensionCSEWindowsTroubleshoot 2020-10-06T16:08:09.3668276Z [96m | [91m" } ] } }' 2020-10-06T16:08:09.3668955Z [0m 2020-10-06T16:08:09.3845855Z ##[error]PowerShell exited with code '1'.