Comments (15)
I am not able to reproduce this issue, but I want to try to pin down what the problem could be.
First, are you able to run the following with Azure CLI?
az login
az account set -s "<Target subscription id>"
az role definition list -n "App Configuration Data Owner"
If so, can you confirm the output has the following?
"permissions": [
{
"actions": [],
"condition": null,
"conditionVersion": null,
"dataActions": [
"Microsoft.AppConfiguration/configurationStores/*/read",
"Microsoft.AppConfiguration/configurationStores/*/write",
"Microsoft.AppConfiguration/configurationStores/*/delete",
"Microsoft.AppConfiguration/configurationStores/*/action"
],
from appconfiguration.
I believe I know what the issue is, and I suspect it is server side. I don't expect this will be an issue if you are deployed to Azure and running with a managed identity. But indeed, if what I suspect it is true the setup you have described will be broken.
I will attempt to reproduce to confirm and if I do confirm I can discuss details of resolution.
Edit:
Just want to mention, I don't believe this would have ever worked. I don't expect it's a regression.
from appconfiguration.
I have confirmed the issue. This occurs when using a visual studio login to access snapshots. This occurs when running in visual studio and using either VisualStudioCredential
or DefaultAzureCredential
(only while running in visual studio) for authentication.
This is not a regression, but rather this specific scenario was never enabled. A service update will be made to enable this scenario.
To work around this issue that can occur when running from visual studio, AzureCliCredential can be used. This does require downloading and logging in to the Azure CLI.
from appconfiguration.
Hey @jimmyca15 , I work with @jayaraut , just wanted to say thank you for your quick work on this. We just started implementing Azure App Configuration at our org and this will help immensely in our developers' workflows. Have a great weekend!
from appconfiguration.
This should be fixed now.
from appconfiguration.
Thanks, this is working now!
from appconfiguration.
@vsarunov When a role is added it can take ~15 minutes for the role to propagate. Can you confirm that it's still occurring to rule out the possibility of the role not being propagated yet?
from appconfiguration.
I'm experiencing the same issue. It's been half a day since the snapshot was created, and the roles for Azure Data Reader and Azure Data Owner have been added for quite some time.
from appconfiguration.
So you also are able to successfully read settings if you remove SelectSnapshot
, but adding SelectSnapshot
causes failure?
from appconfiguration.
Yes, I am able to read from the azure app config but when I created snapshot and wanted to read the same using SelectSnapshot it is breaking with 403 exception.
from appconfiguration.
I have the permissions you mentioned above.
from appconfiguration.
@jayaraut Are you running this in Visual Studio / VS Code? Or is this deployed to Azure and running with a managed identity?
from appconfiguration.
I am currently running it in visual studio using my visual studio identity. But I have managed identity for deployed code. Both managed identity and my visual studio login identity have same App Configuration Data Owner role.
from appconfiguration.
@jimmyca15 , can you please let us know under this thread when the service update is completed enabling this scenario as I want to use DefaultAzureCredential in my code.
from appconfiguration.
Yes.
from appconfiguration.
Related Issues (20)
- Helm Chart Example - AzureAppConfigurationProvider Resource HOT 15
- The pattern of "configuration_reference" is .NET-only HOT 2
- AzureAppConfigurationPush@6 in combination with Workload Identity Federation does not seem to work HOT 3
- Workload Identity Federation (Auotmatic) issue! HOT 2
- Are there plans to support loading external configuration via Spring's `spring.config.import` mechanism? HOT 1
- Kubernetes provider fails to run on arm platform HOT 9
- Request for documentation or source code for AzureAppConfigurationPush@6 HOT 1
- How to run a show command with a wildcard for label? HOT 1
- Delayed Startup and Request Quota Metrics Incorrectly Show 100% Usage HOT 2
- Missing release notes for v7.2.0 of `Microsoft.Extensions.Configuration.AzureAppConfiguration` HOT 1
- Leverage Github's "Releases" capability HOT 3
- Need an example of using FeatureManagement with a database HOT 3
- AppConfigurationPushTask: Handle null values in Configuration file HOT 2
- UseAzureAppConfiguration and AzureAppConfigurationRefreshMiddleware break context execution HOT 11
- [BUG] Springboot application failing to start due to AppConfigurationRefreshEndpoint final class from azure appconfiguration-web with actuator dependency HOT 8
- Should we allow FeatureFlag.enabled to be "true"/"false" (string type)? HOT 6
- ignore-match import mode ignored when importing json using appconfig/kvset profile HOT 9
- Configuration Refresher with Timer Trigger HOT 6
- Azure App Configuration Not Compatible with Azure App Insights HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appconfiguration.