Skip to content

Azure Function

1. Create Azure Function

First, you need to create an azure function from the Azure portal.

See here for details: af-installation

If any way possible, opt for a B1 subscription, and not Y1.

2. Configure Azure Function

For the Azure Function BC we can set the log level by setting an environment variable LOG_LEVEL = DEBUG
log-level.png

Variables

3. Create an Identity

In order to allow the AF to change the DTUs of the Server, we need to create an Identity:

  1. in the Azure Function, search for Identity

  2. make sure Status is turned On

  3. Copy the Object (principal) ID for later use (when you configure the Azure SQL Server)

dwh-bc-azure-function-identity.png