Skip to content

Commit b55de0d

Browse files
authored
Add suggestion for the use of newer Azure.Identity for token chaching
While Azure.Identity 1.8 isn’t the most recent version, quite a few customers continue to use Azure.Identity 1.7 or earlier versions. Sometimes, these customers encounter port exhaustion issues when they switch their app’s authentication method from SQL Server authentication to Managed Identity referring to this document.
1 parent a199ef6 commit b55de0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/app-service/tutorial-connect-msi-sql-database.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ The steps you follow for your project depends on whether you're using [Entity Fr
172172
Install-Package Azure.Identity
173173
Update-Package EntityFramework
174174
```
175+
> [!NOTE]
176+
> The token caching feature for Managed Identity is available starting from Azure.Identity version 1.8.0. To help reduce network port usage, consider updating Azure.Identity to this version or later.
177+
175178
1. In your DbContext object (in *Models/MyDbContext.cs*), add the following code to the default constructor.
176179
177180
```csharp

0 commit comments

Comments
 (0)