-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi Tao,
Seems there is some code change required, getting InvalidTemplate Reference error. Thanks!
2022-05-30T14:50:03.9591230Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account set --subscription 8f0bf984-1d07-486b-a61d-b266a3e9a411"
2022-05-30T14:50:04.9536356Z [command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\azureclitaskscript1653922199023.ps1'"
2022-05-30T14:50:20.2926941Z ERROR: {'code': 'InvalidTemplate', 'message': "Deployment template validation failed: 'The template reference '4963b937-9eb1-4a6e-999c-b7a9f4459a84' is not valid: could not find template resource or resource copy with this name. Please see https://aka.ms/arm-template-expressions/#reference for usage details.'.", 'additionalInfo': [{'type': 'TemplateViolation', 'info': {'lineNumber': 0, 'linePosition': 0, 'path': ''}}]}
2022-05-30T14:50:20.6674276Z ##[error]Script failed with exit code: 1
2022-05-30T14:50:20.7078930Z [command]C:\Windows\system32\cmd.exe /D /S /C ""C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin\az.cmd" account clear"
2022-05-30T14:50:21.6733567Z ##[section]Finishing: Template Validation - Function App