Skip to content

Commit 703b85c

Browse files
authored
Merge pull request #125469 from NicoVermeir/patch-1
Update signalr-howto-authorize-managed-identity.md
2 parents 2ecbaac + 75acfbd commit 703b85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/azure-signalr/signalr-howto-authorize-managed-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Besides, you can use either [DefaultAzureCredential](/dotnet/api/overview/azure/
8787
Notice that system-assigned managed identity is used by default, but *make sure that you don't configure any environment variables* that [EnvironmentCredential](/dotnet/api/azure.identity.environmentcredential) preserved if you use `DefaultAzureCredential`. Otherwise, Azure SignalR Service falls back to use `EnvironmentCredential` to make the request, which usually results in an `Unauthorized` response.
8888

8989
> [!IMPORTANT]
90-
> Remove `Azure__SignalR__ConnectionString` if there was from environment variables in this way. `Azure__SignalR__ConnectionString` will be used to build default `ServiceEndpoint` with first priority and may leads your App Server use Access Key unexpectedly.
90+
> If `Azure__SignalR__ConnectionString` is in your environment variables, remove it. If found the environment variable will take priority and will be used to build the default `ServiceEndpoint`, which may lead your App Server to use Access Key unexpectedly.
9191
9292
```C#
9393
services.AddSignalR().AddAzureSignalR(option =>

0 commit comments

Comments
 (0)