Azure / Azure/AppConfiguration
Pull Reference Values in App Service Environment Variables Not Working
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 263
- Forks
- 82
- Ø Merge
- 3 T. 15 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
## 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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginnen Sie damit, das Problem mit einer App Service-Umgebungsvariablen zu reproduzieren, die auf Azure App Configuration verweist. Aktualisieren Sie anschließend den referenzierten Wert und verwenden Sie die Aktion „Pull Reference Values“ auf der Registerkarte Environment Variables. Überprüfen Sie nach der Aktion und einem manuellen Neustart das Aktivitätsprotokoll und die Umgebungsvariablen der Anwendung. Als abgeschlossen gilt die Aufgabe, wenn die Aktion den referenzierten Wert aktualisiert und der App Service ihn widerspiegelt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure
- Bereich
- cloud
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100