WEBSITE_MOUNT_PATH_xxx environment variable

Matthieu Kapetanos 0 Reputation points
2024-07-01T20:39:13.4833333+00:00

Hello,

Since a couple of weeks ago, a new environment variable is added by Azure which is crashing the web application.

I'm using a docker container image for a Linux web application within an App Service.

The new environment variable is named WEBSITE_MOUNT_PATH_xxx where xxx is the name of the app.

The issue is that this environment variable is malformed. There is no = sign like other variables and Its not a key=value syntax. There is only the key, as a consequence this variable is unreadable and application crashes.

Finally, I do not find any information about this variable on Azure docs (https://learn.microsoft.com/en-us/azure/app-service/reference-app-settings). It seems its undocumented.

Is there any way to prevent this environment variable from being set ?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,359 questions
0 comments No comments
{count} votes