Configure web relay on the Azure portal

Step 1: Creating a Webrelay app on the Azure portal

  1. Go to https://portal.azure.com .
  2. On the Azure portal, select App Services. You can also use the Search function on the portal.
az_app_service.png
  1. Select Create > Web App.
create_app_azure.png
  1. On the Create Web App page,  select subscription and resource group. 
  2. Provide a name for your web app.
  1. Specify .NET 8 (LTS) as the Runtime stack. 
  2. Ensure that Windows is selected as the Operating System. 
  3. Select Region.
  4. Under Pricing plan, select Basic B1 or a higher tier. Free (F1) and Shared (D1) are not supported: they have no Always On, so the Web relay goes idle and incoming webhook calls can time out. Choose a Standard or Premium v4 tier when you need autoscale or deployment slots. You can also place the Web relay in an existing App Service plan.
az_create_web_app.png
  1. Select the Networking tab.
  2. Ensure that the Enable public access option is set to “On”.
web_app_checkboxes.png
  1. Check that the Application Insights option is set to “Monitor + secure“.
monitor_and_secure.jpg
  1. Select Review + create. 
  2. Check parameters and select Create. 
  3. Wait for the deployment to complete.

After the successful deployment, your app service will appear in the application services list.

az_app_service_list.png

Step 2: Configuring a Web relay app on the Azure portal

  1. On the Azure portal, open the App Service.  
  2. In the Default domain field, specify the app service address.
  3. Go to Settings > Configuration. 
  4. Enable the SCM Basic Auth Publishing Credentials and FTP Basic Auth Publishing Credentials checkboxes. 
  5. Select Save.
az_app_checkboxes.png
  1. Go to Deployment > Deployment center. 
  2. On the FTPS Credentials tab, under the Application-scope section, select the Password field. It reveals the username and password for FTPS deployment of webrelay files.
az_credentials.png
  1. Use an FTP client to upload WebRelay files to the FTP site. 
  2. Delete _hostingstart.html_ at /site/wwwroot.  
  3. Upload files directly to /site/wwwroot.  

Note: Don’t alter the appsettings.json file.

az_ftp_client.png
Book a 30-min review