Pull Reference Values in App Service Environment Variables Not Working

Open
#1,155 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
azure
Domain
cloud

Research direction

Start by reproducing the issue with an App Service environment variable referencing Azure App Configuration, then update the referenced value and use the Environment Variables tab's “Pull Reference Values” action. Check the activity log and the application's environment variables after the action and a manual restart. Done means the action refreshes the referenced value and the App Service reflects it.

Written by the indexing model from the issue text.

Description

Summary

When using App Configuration references with App Service environment variables, the "Pull Reference Values" button is not refreshing the environment variables provided to the App Service. When you click the button, it does state:

This will query Key Vault and App Configuration to update any values referenced by the app. Your site will restart in order to apply the new configuration.

However, nothing indicates that the app was restarted and the environment variable values within the App Service remain the same. I also tried manually restarting the app service after pulling the reference values, but there was no change.

Steps to recreate:

  1. Use references to App Configuration in an App Service's environment variables. Example: @Microsoft.AppConfiguration(Endpoint=https://redacted.azconfig.io; Key=app:debug; Label=poc)
  2. Update a referenced value in App Configuration
  3. Navigate to the App Service's Environment Variables tab and choose "Pull Reference Values"
  4. Check activity log to see if app service has been restarted
  5. Observe environment variable values within the application and confirm no change
Dominant language
No language data
Stars
263
Forks
82
Avg merge
3d 15h
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/AppConfiguration

All issues in Azure/AppConfiguration

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.