WVD Deployment

%3CLINGO-SUB%20id%3D%22lingo-sub-1239927%22%20slang%3D%22en-US%22%3EWVD%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1239927%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ELong%20story%20short%2C%20the%20WVD%20deployment%20failed%20after%20following%20the%20steps%20from%20%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DNQFtI3JLtaU%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2FNQFtI3JLtaU%3C%2FA%3E%3C%2FP%3E%3CDIV%20class%3D%22fxc-gc-thead%22%3E%3CDIV%20class%3D%22fxc-gc-columnheaderrow%20azc-br-muted%20fxc-gc-columnheaderrow_3%22%3E%3CDIV%20class%3D%22fxc-gc-columnheader%20fxc-gc-bold%20fxc-gc-columnheader_3_0%20fxc-gc-sorting%22%3E%3CDIV%20class%3D%22fxc-gc-columnheader-content-container%22%3E%3CDIV%20class%3D%22fxc-gc-columnheader-aftercontent%22%3E%3CDIV%20class%3D%22fxc-gc-columnheader-aftercontent-gizmo%20fxc-none%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3EPlease%20check%20the%20error%20message%20below%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22status%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22Failed%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22error%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22code%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22ResourceDeploymentFailure%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22message%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22The%26nbsp%3Bresource%26nbsp%3Boperation%26nbsp%3Bcompleted%26nbsp%3Bwith%26nbsp%3Bterminal%26nbsp%3Bprovisioning%26nbsp%3Bstate%26nbsp%3B'Failed'.%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22details%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22code%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22VMExtensionProvisioningError%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22message%22%3C%2FSPAN%3E%3CSPAN%3E%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%22VM%26nbsp%3Bhas%26nbsp%3Breported%26nbsp%3Ba%26nbsp%3Bfailure%26nbsp%3Bwhen%26nbsp%3Bprocessing%26nbsp%3Bextension%26nbsp%3B'dscextension'.%26nbsp%3BError%26nbsp%3Bmessage%3A%26nbsp%3B%5C%22DSC%26nbsp%3BConfiguration%26nbsp%3B'CreateHostPoolAndRegisterSessionHost'%26nbsp%3Bcompleted%26nbsp%3Bwith%26nbsp%3Berror(s).%26nbsp%3BFollowing%26nbsp%3Bare%26nbsp%3Bthe%26nbsp%3Bfirst%26nbsp%3Bfew%3A%26nbsp%3BPowerShell%26nbsp%3BDSC%26nbsp%3Bresource%26nbsp%3BMSFT_ScriptResource%26nbsp%3B%26nbsp%3Bfailed%26nbsp%3Bto%26nbsp%3Bexecute%26nbsp%3BSet-TargetResource%26nbsp%3Bfunctionality%26nbsp%3Bwith%26nbsp%3Berror%26nbsp%3Bmessage%3A%26nbsp%3BUser%26nbsp%3Bis%26nbsp%3Bnot%26nbsp%3Bauthorized%26nbsp%3Bto%26nbsp%3Bquery%26nbsp%3Bthe%26nbsp%3Bmanagement%26nbsp%3Bservice.%5CnActivityId%3A%26nbsp%3B32d68641-1e58-40a9-ad91-f13bb0727941%5CnPowershell%26nbsp%3Bcommands%26nbsp%3Bto%26nbsp%3Bdiagnose%26nbsp%3Bthe%26nbsp%3Bfailure%3A%5CnGet-RdsDiagnosticActivities%26nbsp%3B-ActivityId%26nbsp%3B32d68641-1e58-40a9-ad91-f13bb0727941%5Cn%26nbsp%3B%26nbsp%3BPowerShell%26nbsp%3BDSC%26nbsp%3Bresource%26nbsp%3BMSFT_ScriptResource%26nbsp%3B%26nbsp%3Bfailed%26nbsp%3Bto%26nbsp%3Bexecute%26nbsp%3BSet-TargetResource%26nbsp%3Bfunctionality%26nbsp%3Bwith%26nbsp%3Berror%26nbsp%3Bmessage%3A%26nbsp%3BMy%26nbsp%3Bfirst%26nbsp%3Bhostpool%26nbsp%3BHostpool%26nbsp%3Bdoes%26nbsp%3Bnot%26nbsp%3Bexist%26nbsp%3Bin%26nbsp%3BWindows%26nbsp%3BVirtual%26nbsp%3BDesktop%26nbsp%3BTenant%26nbsp%3B%26nbsp%3BThe%26nbsp%3BSendConfigurationApply%26nbsp%3Bfunction%26nbsp%3Bdid%26nbsp%3Bnot%26nbsp%3Bsucceed.%5C%22%5Cr%5Cn%5Cr%5CnMore%26nbsp%3Binformation%26nbsp%3Bon%26nbsp%3Btroubleshooting%26nbsp%3Bis%26nbsp%3Bavailable%26nbsp%3Bat%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FVMExtensionDSCWindowsTroubleshoot%26nbsp%3B%3C%2FA%3E%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%5D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EPlease%20advise%20and%20for%20better%20understanding%20check%20the%20screenshot.%20Thank%20you!%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi,

Long story short, the WVD deployment failed after following the steps from https://youtu.be/NQFtI3JLtaU

 

Please check the error message below:

{
    "status""Failed",
    "error": {
        "code""ResourceDeploymentFailure",
        "message""The resource operation completed with terminal provisioning state 'Failed'.",
        "details": [
            {
                "code""VMExtensionProvisioningError",
                "message""VM has reported a failure when processing extension 'dscextension'. Error message: \"DSC Configuration 'CreateHostPoolAndRegisterSessionHost' completed with error(s). Following are the first few: PowerShell DSC resource MSFT_ScriptResource  failed to execute Set-TargetResource functionality with error message: User is not authorized to query the management service.\nActivityId: 32d68641-1e58-40a9-ad91-f13bb0727941\nPowershell commands to diagnose the failure:\nGet-RdsDiagnosticActivities -ActivityId 32d68641-1e58-40a9-ad91-f13bb0727941\n  PowerShell DSC resource MSFT_ScriptResource  failed to execute Set-TargetResource functionality with error message: My first hostpool Hostpool does not exist in Windows Virtual Desktop Tenant  The SendConfigurationApply function did not succeed.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionDSCWindowsTroubleshoot "
            }
        ]
    }
}
 
Please advise and for better understanding check the screenshot. Thank you!
Our 4-part series on Microsoft's Windows Virtual Desktop (WVD) Solution on Microsoft Azure. If your organization is looking for a more efficient, productive,...
0 Replies