Thanks for posting your question in the Microsoft Q&A forum.
Setting up a SQL Server on an Azure Virtual Machine (VM) using an ARM (Azure Resource Manager) template is a great way to automate the process and avoid manual configuration.
** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **