question

venkat-6939 avatar image
0 Votes"
venkat-6939 asked venkat-6939 commented

Not able to deploy the AVD through ARM template

{"telemetryId":"801b9a26-84a5-46e2-8bfd-ad9c4b33678a","bladeInstanceId":"Blade_460e926ebfaf4602b31375894534a33c_22_0","galleryItemId":"MyGalleryItem","createBlade":"DeployToAzure","code":"InvalidTemplate","message":"Deployment template validation failed: 'The template resource '/Microsoft.Insights/diagnosticSetting' for type 'Microsoft.DesktopVirtualization/workspaces/providers/diagnosticSettings' at line '1250' and column '91' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":1250,"linePosition":91,"path":"properties.template.resources[7].type"}}]}

azure-dtl-arm-enviorments
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @venkat-6939,

Thank you for reaching out to Microsoft QnA. Could you please share the template so that I can have a look at it and run it at my end.

0 Votes 0 ·

Hi Team,

Please find the attached template and please run at your end update.

[1]: /answers/storage/attachments/171120-template.xml

0 Votes 0 ·
template.xml (26.8 KiB)

0 Answers