Creating an Azure WebApp + AppInsights using Node Sample code on using the Azure SDK for Node to create a new Azure WebApp on AppService and enable Application Insights on it. You can find more details here.