There is an error when pipeline tries to deploy into the Web App.
Pipeline throws this error: ##[error]Error: Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC More Information: Could not connect to the remote computer ("xxx.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 at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC. Error: The remote server returned an error: (403) Forbidden.
The app service has configured a private endpoint for internal vnet usage but I would like to have the scm public accessible because the agents aren't in the same vnet.
So basically I want to combine private endpoint + scm site public acess with restrictions.
I've configured the public restricted access in multiple ways:
- service tag
- agents IPs.
- agents subnet.
It's not working, actually if I connect remotely to the agents and try to acess the scm site it returns a 403. If I configure my computer IP in the public access restriction I can acess the scm site.
Even if I configure public access without restrictions it's still not working unless I delete the private endpoint
All infra is in Azure.
Thanks!