I have been working on Azure for quite some time. I have installed Flarum on shared hosted services like GoDaddy, HostGator etc, so I was wondering whether we can host the Flarum forum on Azure. Then I thought of giving it a try. And the result is... Flarum worked perfectly on Azure as Web App. Here is how I did it...
Installed WAMP + Composer on my home computer in order to get the Flarum working on my local computer.
On my Azure portal, created a new App Services using PHP Starter Kit (if you don't know how to do this, please let me know and I will share the steps).
Once the App Services is ready, I downloaded the Publish Profile (this gives you all FTP details for your Azure App Services)
Using WinSCP I connected to Azure App Services ftp folder and uploaded the Flarum folder contains from my home computer.
Installed Composer on Azure App Services. You can do this from the main screen of you newly created Web App. On the menu, you will see an option with name "Extensions", under Development Tools section. Here you can add Composer as an extension.
By this time all the content was copied to FTP folder, so I gave a try hitting the URL. I see the Flarum installation page
The trick is with database connectivity. You can either have separate virtual machine and make it work as MySQL databases or you can use the MySQL In App (MySQL In App, does not support Auto Scale feature as of yet). I used MySQL In App and installed the Flarum.
Please let me know if you need any additional details on how to get the Flarum working on Microsoft Azure App Services.