SOLVED
Home

Validation failed upon creating the host pool

%3CLINGO-SUB%20id%3D%22lingo-sub-922379%22%20slang%3D%22en-US%22%3EValidation%20failed%20upon%20creating%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-922379%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20guys%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPrevious%20week%20I%20tried%20to%20deploy%20my%20first%20Windows%20Virtual%20Desktop%20pool%20but%20it%20did%20not%20succeed%20because%20of%20VM's%20not%20joining%20the%20domain.%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20week%20I%20tried%20the%20same%20thing%20again%20but%20i'm%20getting%20an%20error%20already%20this%20time%20when%20validating%20the%20host%20pool.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EError%20below%3A%3C%2FP%3E%3CP%3E%3CSPAN%3EDeployment%20template%20validation%20failed%3A%20'The%20template%20resource%20'_artifactsLocation'%20at%20line%20'109'%20and%20column%20'31'%20is%20not%20valid%3A%20The%20language%20expression%20property%20'templateLink'%20doesn't%20exist%2C%20available%20properties%20are%20'template%2C%20templateHash%2C%20parameters%2C%20mode%2C%20debugSetting%2C%20provisioningState'..%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-template-expressions%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-template-expressions%3C%2FA%3E%20for%20usage%20details.'.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20setup%20I'm%20using%20to%20get%20this%20working%20is%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EAADDS%20synced%20with%20Azure%20AD%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EVirtual%20Network%20with%202%20subnets%3C%2FSPAN%3E%3C%2FLI%3E%3CUL%3E%3CLI%3E%3CSPAN%3E1%20subnet%20for%20AADDS%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3E1%20subnet%20for%20the%20virtual%20machines%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20really%20can't%20think%20how%20this%20error%20would%20come%20up.%20I%20literally%20didn't%20change%20anything%20to%20my%20setup%20from%20the%20week%20before.%20Do%20you%20guys%20have%20any%20idea%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%20in%20advance.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-924184%22%20slang%3D%22en-US%22%3ERe%3A%20Validation%20failed%20upon%20creating%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-924184%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F418672%22%20target%3D%22_blank%22%3E%40Luis_Farinango%3C%2FA%3E%3A%20We%20have%20a%20known%20issue%20which%20we%20are%20currently%20resolving.%20Communication%20went%20out%20to%20impacted%20subscriptions%20through%20Azure%20Service%20Health%20-%20learn%20more%20how%20to%20set%20it%20up%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fset-up-service-alerts%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUse%20the%20following%20approaches%20to%20succeed%20with%20your%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23343a41%3B%20font-family%3A%20inherit%3B%20font-size%3A%201.5rem%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%2020px%3B%20min-height%3A%2021px%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20vertical-align%3A%20baseline%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20pre-wrap%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3EWork%20around%20%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Fpull%2F1%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Fpull%2F1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%231%3C%2FA%3E%3CBR%20%2F%3EDeploy%20VMs%20using%20any%20of%20the%20methods%20Azure%20support%20(ARM%2C%20portal%2C%20APIs%2C%20PowerShell%2C%20Terraforms)%3CBR%20%2F%3EPerform%20domain%20join%20of%20created%20VMs%20via%20following%20arm%20template%20%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-gb%2Fresources%2Ftemplates%2F201-vm-domain-join-existing%2F%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-gb%2Fresources%2Ftemplates%2F201-vm-domain-join-existing%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-gb%2Fresources%2Ftemplates%2F201-vm-domain-join-existing%2F%3C%2FA%3E%3CBR%20%2F%3ECreate%20WVD%20host%20pool%20and%20registration%20token%20via%20PowerShell%20%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%3C%2FA%3E%3CBR%20%2F%3ERun%20following%20ARM%20template%20to%20perform%20registration%20%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmbastos%2Fjoinhostpool%2Fwvd-sh%2Fjoinhostpool%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmbastos%2Fjoinhostpool%2Fwvd-sh%2Fjoinhostpool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Ftree%2Fmbastos%2Fjoinhostpool%2Fwvd-sh%2Fjoinhostpool%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23343a41%3B%20display%3A%20inline%3B%20font-family%3A%20inherit%3B%20font-size%3A%201.5rem%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%2020px%3B%20min-height%3A%2021px%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20vertical-align%3A%20baseline%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20pre-wrap%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%3B%20margin%3A%200px%204px%200px%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%3EWork%20around%20%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Fpull%2F2%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Fpull%2F2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%232%3C%2FA%3E%3CBR%20%2F%3EAll%20steps%20form%20work%20around%20%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Fpull%2F1%22%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FRDS-Templates%2Fpull%2F1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%231%3C%2FA%3E%20can%20be%20performed%20manually%3CBR%20%2F%3E%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftenant-setup-azure-active-directory%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftenant-setup-azure-active-directory%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftenant-setup-azure-active-directory%3C%2FA%3E%3CBR%20%2F%3E%3CA%20style%3D%22background-color%3A%20transparent%3B%20border-image-outset%3A%200%3B%20border-image-repeat%3A%20stretch%3B%20border-image-slice%3A%20100%25%3B%20border-image-source%3A%20none%3B%20border-image-width%3A%201%3B%20box-sizing%3A%20inherit%3B%20color%3A%20%23386cbb%3B%20font-family%3A%20inherit%3B%20font-size%3A%20inherit%3B%20font-size-adjust%3A%20none%3B%20font-stretch%3A%20inherit%3B%20font-style%3A%20inherit%3B%20font-variant%3A%20inherit%3B%20font-weight%3A%20inherit%3B%20line-height%3A%20inherit%3B%20text-decoration%3A%20none%3B%20vertical-align%3A%20baseline%3B%20padding%3A%200px%3B%20margin%3A%200px%3B%20border%3A%200px%20none%20currentColor%3B%22%20title%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-926401%22%20slang%3D%22en-US%22%3ERe%3A%20Validation%20failed%20upon%20creating%20the%20host%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-926401%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F139744%22%20target%3D%22_blank%22%3E%40Eva%20Seydl%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20the%20reply.%3C%2FP%3E%3CP%3EI%20used%20workaround%20%231%20en%20this%20solution%20worked%20perfectly!%20Finally%20I%20can%20begin%20with%20testing%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Luis_Farinango
Occasional Contributor

Hi guys,

 

Previous week I tried to deploy my first Windows Virtual Desktop pool but it did not succeed because of VM's not joining the domain. 

This week I tried the same thing again but i'm getting an error already this time when validating the host pool.

 

Error below:

Deployment template validation failed: 'The template resource '_artifactsLocation' at line '109' and column '31' is not valid: The language expression property 'templateLink' doesn't exist, available properties are 'template, templateHash, parameters, mode, debugSetting, provisioningState'.. Please see https://aka.ms/arm-template-expressions for usage details.'.

 

The setup I'm using to get this working is:

  • AADDS synced with Azure AD
  • Virtual Network with 2 subnets
    • 1 subnet for AADDS
    • 1 subnet for the virtual machines

 

I really can't think how this error would come up. I literally didn't change anything to my setup from the week before. Do you guys have any idea?

 

Thanks in advance.

 

2 Replies
Solution

@Luis_Farinango: We have a known issue which we are currently resolving. Communication went out to impacted subscriptions through Azure Service Health - learn more how to set it up here.

 

Use the following approaches to succeed with your deployment.

 

Work around #1
Deploy VMs using any of the methods Azure support (ARM, portal, APIs, PowerShell, Terraforms)
Perform domain join of created VMs via following arm template https://azure.microsoft.com/en-gb/resources/templates/201-vm-domain-join-existing/
Create WVD host pool and registration token via PowerShell https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell
Run following ARM template to perform registration https://github.com/Azure/RDS-Templates/tree/mbastos/joinhostpool/wvd-sh/joinhostpool

Work around #2
All steps form work around #1 can be performed manually
https://docs.microsoft.com/en-us/azure/virtual-desktop/tenant-setup-azure-active-directory
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell

@Eva Seydl 

Thank you for the reply.

I used workaround #1 en this solution worked perfectly! Finally I can begin with testing :)

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies