Menu Home

Use custom http routes in Azure Functions

Per default Azure Functions uses the name of the function (which is in fact the directory name that contains the function files) as the http route. E.g. a function named products hosted in azure functions with the name mycompany will end up at a URL: https://mycompany.azurewebsites.net/products. That might be fine […]

Get Azure AD domains from TenantID

In Azure AD a tenant is uniquely identified by a tenant ID which is a guid. Unfortunately guids are not very user friendly, so most users remembers their AD tenants by the domain name, it could e.g. be sjkp.onmicrosoft.com. If you are working with the Azure management api, you can […]

Service Bus ARM Templates

I love Azure resource manager and especially ARM templates for deploying a full resource group. Unfortunately the documentation on how to author the templates still have a long way to come. Recently I have been doing some IoT work, where we are using Service Bus and Event Hub. How to […]

ARM Templates set “Always on” and other site properties

Just a quick reminder to myself. In order to set the “always on” property on a Azure Web App when provisioned from an ARM template, the resource should look like this [javascript] { "apiVersion": "2015-06-01", "name": "[parameters(‘siteName’)]", "type": "Microsoft.Web/Sites", "location": "[parameters(‘siteLocation’)]", "dependsOn": [ "[concat(‘Microsoft.Web/serverFarms/’, parameters(‘hostingPlanName’))]" ], "tags": { "[concat(‘hidden-related:’, resourceGroup().id, […]