@Juan Rivero , Firstly, apologies for the delayed response from over the weekend and any inconvenience with this issue.
From the issue description, I understand you are leveraging the same code to deploy your WebApp from subscription to another subscription on App Service. Based on my understanding, you maybe attempting to deploy Node App on Azure App Service, please do confirm on the application framework you’re working on.
Also, just to clarify, are you leveraging Azure App Service WebApp or Azure Static WebApps?
- Typically, after deploying your Node.js code to a native Windows app in App Service, if you receive -
You do not have permission to view this directory or page.
This is most likely because you don't have a web.config file. Validate which file is being displayed and check your web.config. - You may review the error details from browser developer’s tool/ F12 . Once we observe the traces on the browser window, to fetch more details.
- You may also inspect the log files from the browser at https://<app-name>.scm.azurewebsites.net/api/logs/docker
- To fetch more details about the issue, you may try these:
- You may leverage App Service diagnostics from Azure Portal> Navigate to your App Service app in the Azure Portal. (screenshot below)
In the left navigation, click on
Diagnose and solve problems
- Review - “Configuration and Management and “Availability and Performance” options.
Kindly let us know how it goes, I'll follow-up with you further.