LanguageGB
App Deployment

Set environment variables in the portal

Add, edit, or delete environment variables for a deployed app — changes persist across redeploys automatically.

What this covers

Environment variables let you pass configuration values such as API keys, database URLs, and feature flags to your app without hardcoding them. Values set in the portal are injected at deploy time and survive redeployments — you do not need to re-enter them after each push.

Before you start

Have the variable names and values ready. Never share secrets in support messages, code comments, or version control.

How to do it

  1. Open the app service in the portal and scroll to the Environment Variables section.
  2. Click Add Variable, enter the key name and value, then save.
  3. Repeat for each variable your app needs.
  4. Redeploy the app to apply the new values — variables are injected fresh on every deploy.
  5. To update a value, edit it in place and redeploy. To remove a variable, delete the entry and redeploy.

What our team checks

Support reviews whether the correct variables were set, whether a redeploy was triggered after changes, and whether the app is reading the values correctly at startup.

Next step

Add your variables from the app service detail page, then trigger a redeploy to apply them.

Contact Support