To Validate and test the UI definition against the Azure Portal, a method called
Sideloading can be used. This method gives us the possibility, to test our UI definition in the Azure Portal, as it would look like the user is rolling out our template. The files necessary for this process are also located in the main folder of the quickstart-templates GitHub repository at https://github.com/Azure/azure-quickstart-templates.
The files needed for this part of the testing are SideLoad-CreateUIDefinition.ps1
and sideload-createuidef.sh. I will also test the files using the PowerShell version of the script, the bash version has some amendments in the switches but is mostly the same.
Like in the previous part, you also need to be logged in to Azure in the PowerShell Window to run the script. When you first run the script SideLoad-CreateUIDefinition.ps1, you need to specify the parameter StorageResourceGroupLocation...