Home

Problem joining to my domain

%3CLINGO-SUB%20id%3D%22lingo-sub-722804%22%20slang%3D%22en-US%22%3EProblem%20joining%20to%20my%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-722804%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%22Deployment%20template%20validation%20failed%3A%20'The%20template%20variable%20'vmTemplateUri'%20is%20not%20valid%3A%20The%20template%20language%20function%20'uri'%20expects%20its%20first%20argument%20to%20be%20a%20uri%20string.%20The%20provided%20value%20is%20'deployment().properties.templateLink.uri'.%20Please%20see%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Farm-template-expressions%2F%23uri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-template-expressions%2F%23uri%3C%2FA%3E%20for%20usage%20details..%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%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2Farm-template-expressions%3C%2FA%3E%20for%20usage%20details.'.%20(Code%3A%20InvalidTemplate%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3Eis%20the%20error%20that%20I%20get%20when%20I%20attempt%20to%20deploy%20a%20VD.%20Suggesting%20that%20it%20is%20in%20fact%20unable%20to%20find%20the%20template.%20I%20tried%20on%20multi%20user%20and%20multi%20user%20o365%20proplus%20images%20but%20got%20nothing.%20idea%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-737176%22%20slang%3D%22en-US%22%3ERe%3A%20Problem%20joining%20to%20my%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-737176%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F332652%22%20target%3D%22_blank%22%3E%40ian11230%3C%2FA%3E%3A%20We%20do%20validate%20the%20URI%20for%20the%20virtual%20disk.%20If%20it%20has%20multiple%20dots%20it%20will%20fail%20validation.%20Rename%20your%20VD%20to%20use%20dashes%20instead%20of%20dots%20and%20keep%20one%20dot%20before%20the%20file%20extension.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-737319%22%20slang%3D%22en-US%22%3ERe%3A%20Problem%20joining%20to%20my%20domain%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-737319%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%3CSPAN%3EDeployment%20template%20validation%20failed%3A%20'The%20template%20resource%20'_artifactsLocation'%20at%20line%20'88'%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%22%3Ehttps%3A%2F%2Faka.ms%2Farm-template-expressions%3C%2FA%3E%20for%20usage%20details.'.%20(Code%3A%20InvalidTemplate)%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20started%20getting%20this%20error%20now.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
ian11230
Occasional Contributor

"Deployment template validation failed: 'The template variable 'vmTemplateUri' is not valid: The template language function 'uri' expects its first argument to be a uri string. The provided value is 'deployment().properties.templateLink.uri'. Please see https://aka.ms/arm-template-expressions/#uri for usage details.. Please see https://aka.ms/arm-template-expressions for usage details.'. (Code: InvalidTemplate"

 

is the error that I get when I attempt to deploy a VD. Suggesting that it is in fact unable to find the template. I tried on multi user and multi user o365 proplus images but got nothing. idea?

2 Replies

@ian11230: We do validate the URI for the virtual disk. If it has multiple dots it will fail validation. Rename your VD to use dashes instead of dots and keep one dot before the file extension.

@Eva Seydl Deployment template validation failed: 'The template resource '_artifactsLocation' at line '88' 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.'. (Code: InvalidTemplate)

 

I have started getting this error now.

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies