Error: ERROR COULD NOT CONNECT TO REMOTESVC Error The remote server returned an error 403 Forbidden
Error:
Info: Using ID 'xxxxxxxxxxxxxxx' for connections to the remote server.
Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC
More Information: Could not connect to the remote computer (test.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on
the remote computer. Learn more ERROR_COULD_NOT_CONNECT_TO_REMOTESVC .
Error: The remote server returned an error: (403) Forbidden.
Error count: 1.
Microsoft.PowerShell.Commands.WriteErrorException:
Failed to deploy package C:\UiPathUpgrade_2023\ProdUpgrade_2021.10.3\UpgradeScripts\UiPathOrchestrator\UiPath.Orchestrator.Web.zip with -1
Resolution:
- In the Azure portal, search for and select App Services, and then select your app.
- In the app's left menu, select Configuration > Application settings.

- By default, values for app settings are hidden in the portal for security. To see a hidden value of an app setting, select its Value field. To see the hidden values of all app settings, select the Show values button.
- To add a new app setting, select New application setting. To edit a setting, select the Edit button on the right side.
- Name: WEBSITE_WEBDEPLOY_USE_SCM Value: false . Refer the below screenshot