Web app stops working after adding a new environmental variable.

Steven Davey 0 Reputation points
2024-09-27T05:44:38.7866667+00:00

I have a python web app deployed on a linux machine. In the Azure Portal, for this web app I set a new environmental variable. It is not referenced in the code and does not conflict with any of the azure names. Once I save the new environmental variable, the app page shows an Application Error. The diagnostic report says "Resource not found". The "self-diagnostics" do not pick up any issues (all tests complete and show a green tick).

The app was working fine before the variable was added. Stopping and restarting the app does not fix the issue. Restarting the app does not fix the issue. I have to do a full redeploy to fix the issue

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
921 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.