You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Customer intent: I want to dynamically update my .NET background service to use the latest configuration data in App Configuration.
15
15
---
@@ -73,19 +73,27 @@ You use the [.NET command-line interface (CLI)](/dotnet/core/tools/) to create a
73
73
1. Connect to App Configuration using Microsoft Entra ID (recommended), or a connection string.
74
74
75
75
### [Microsoft Entra ID (recommended)](#tab/entra-id)
76
+
77
+
You use the `DefaultAzureCredential` to authenticate to your App Configuration store.
78
+
79
+
1. Follow the [instructions](./concept-enable-rbac.md#authentication-with-token-credentials) to assign your credential the **App Configuration Data Reader role**. Be sure to allow sufficient time for the permission to propagate before running your application.
80
+
81
+
1. Update the code in Program.cs.
82
+
76
83
```csharp
77
84
// Existing code in Program.cs
78
85
// ... ...
79
86
80
87
var builder = Host.CreateApplicationBuilder(args);
0 commit comments