Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14.04k stars 16.12k forks source link

Maybe test/template-validation-tests/test/mainTemplateTests.js should catch "Azure usage tracking resource missing"? #6477

Open edburns opened 5 years ago

edburns commented 5 years ago

Given that the intended purpose of test/template-validation-tests/test/mainTemplateTests.js is to catch errors before going through the publishing process, perhaps we should consider allowing it to catch this class of error:

Error Message Azure usage tracking resource missing in one or more ARM
templates. To resolve, add a tracking GUID to the ARM template in
mainTemplate.json packages for the following plan:
20190829-arm-oraclelinux-wls-cluster. For more details, see
https://aka.ms/aboutinfluencedrevenuetracking.

Even if this check is not done by default, perhaps it could be enabled with a flag? That way we could update the documentation and I could mention the use of that flag in https://github.com/MicrosoftDocs/azure-docs/issues/37975 ?

edburns commented 5 years ago

Please feel free to assign this issue to me.

tuherbpoher commented 5 years ago

Hi @edburns , is there any update on the current error's solution ? I faced the same error, while trying to publish a manged application in the marketplace.