Configure web relay on the Azure portal
Step 1: Creating a Webrelay app on the Azure portal
- Go to https://portal.azure.com .
- On the Azure portal, select App Services. You can also use the Search function on the portal.

- Select Create > Web App.

- On the Create Web App page, select subscription and resource group.
- Provide a name for your web app.
- Specify .NET 8 (LTS) as the Runtime stack.
- Ensure that Windows is selected as the Operating System.
- Select Region.
- 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.

- Select the Networking tab.
- Ensure that the Enable public access option is set to “On”.

- Check that the Application Insights option is set to “Monitor + secure“.

- Select Review + create.
- Check parameters and select Create.
- Wait for the deployment to complete.
After the successful deployment, your app service will appear in the application services list.

Step 2: Configuring a Web relay app on the Azure portal
- On the Azure portal, open the App Service.
- In the Default domain field, specify the app service address.
- Go to Settings > Configuration.
- Enable the SCM Basic Auth Publishing Credentials and FTP Basic Auth Publishing Credentials checkboxes.
- Select Save.

- Go to Deployment > Deployment center.
- 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.

- Use an FTP client to upload WebRelay files to the FTP site.
- Delete _hostingstart.html_ at /site/wwwroot.
- Upload files directly to /site/wwwroot.
Note: Don’t alter the appsettings.json file.
