Quick deployment of a wireguard server on Azure with QR Code based setup of your mobile device.
resourceGroupName=wireguardserver
location=westeurope
az group create -n $resourceGroupName -l $location
az deployment group create --name wireguarddeployment --resource-group $resourceGroupName --template-file azuredeploy.json
az group delete -n $resourceGroupName
Point your browser to http://YOURFQDN:4711 and it will show an onetime QR code for mobile client setup. Just scan the code with your Wireguard App. Tested on iOS https://apps.apple.com/de/app/wireguard/id1441195209