Azure Functions is currently not available in Azure Germany. If you want to start with Functions in Azure Germany, then you have to use the Functions Runtime as a workaround.
The Functions Runtime can be installed on a Windows Server 2016 or on your Windows 10 with Creators Update client machine. We will install the Functions Runtime on an IaaS VM in Azure Germany.
Because the Runtime requires a SQL database, I have used the “Free License: SQL Server 2016 SP1 Express on Windows Server 2016” image and installed the Functions Runtime after the successful VM deployment.
You should install both roles, Functions Management and Worker, on the same machine.
After the setup has completed successfully, start the configuration wizard.
The first view is the General section which says: Configuration required. So you have to go through each of the sections Database, Credential, File Share and IIS step by step to get the Functions Runtime up and running.
In the Database section enter the computer name of the VM under server name and the SQL credentials you have defined during the VM deployment through the Azure portal. Afterwards hit apply to finish the database configuration.
Specify the username and password for the file share owner and user.
Just hit apply to provision the file share on the server.
The last step is to configure the IIS. I have used the default inputs and the option generate self-signed cert.
Now, we can open a web browser and enter the server name to access the Functions Runtime portal. Keep in mind that the Functions Runtime portal does not require any authentication and can be accessed anonymously.
Until Azure Functions becomes available in Azure Germany, the only way to run Functions in Azure Germany is to use the Functions Runtime on an Azure VM as a workaround.