-
Notifications
You must be signed in to change notification settings - Fork 976
[AppConfig]: Error while reading Settings from Azure App Configuration #17424
Copy link
Copy link
Closed
Labels
App ConfigurationAzure.ApplicationModel.ConfigurationAzure.ApplicationModel.ConfigurationClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
App ConfigurationAzure.ApplicationModel.ConfigurationAzure.ApplicationModel.ConfigurationClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Bug Report
Environment
What happened?
Reading settings from Azure App Configuration (AppConfig) does not work. When using a connection string for authentication, requests fail with an HTTP
401andHMAC-SHA256 error="invalid_token", error_description="Invalid Credential"provided as in the response header.When authenticating with
azidentitysame underlying request fail with an HTTP403. I hadazidentityconfigured to re-use existing authentication token from Azure CLI (az).Reading the same setting works perfectly fine via
az appconfig kv showWhat did you expect or want to happen?
I expect to retrieve the setting from AppConfig 😄
How can we reproduce it?
Here the fragment of the code used for authenticating with a connection string
Anything we should know about your environment.
local: I tested it on latest macOS (Intel)
cloud: see the following
azscript to spin up the required services: