Azure / Azure/AppConfiguration

Pull Reference Values in App Service Environment Variables Not Working

Open
#1,155 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
263
Forks
82
Avg merge
3d 15h
Merged PRs (30d)
6

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

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.