Another possible way of validating your template is to use the scripts provided in the test folder under https://github.com/Azure/azure-quickstart-templates/tree/master/test/template-validation-tests. To use these files and test, you first need to install Node.js with npm, but you will find a good installation manual in the repository itself.
After you have installed all necessary files with npm install, you are ready to go and validate your template.
If you are using a Mac or Linux system to test your templates, be sure to edit the file package.json in the main folder template-validation-tests and change lines 7, 9 and 10 by replacing the \\ with / so the referenced files can be found by npm. The files in our repositories are for Windows users and do not include these changes!
The validation itself is very complex and follows the same routine that Microsoft would use to test your marketplace templates against its rules. The...