Skip to content

Pull Reference Values in App Service Environment Variables Not Working #1155

Description

@chasestech

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions