Azure SQL Managed Identity in .Net Core without using access token

DevBuster007 171 Reputation points
2022-11-21T16:03:48.473+00:00

We are using Azure SQL to connect from .Net 6.0 application.
It's a very high traffic application with millions of read write operations. Getting access token every time will slowdown the system.
We want to use managed Identity but without using the code to fetch Access Token. Please let us know if MS has this capability for now?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,708 questions
Azure SQL Database
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,929 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alberto Morillo 27,546 Reputation points MVP
    2022-11-21T16:50:24.973+00:00

    Both user-assigned and system-assigned identities make use of tokens. Identities cannot be used without token.

    You can consider file-based authentication when token is not needed. Please get more information from here.


  2. Bas Pruijn 846 Reputation points
    2022-11-22T12:33:37.793+00:00

    Instead of looking for an insecure way of connecting to your SQL Server, why not look into connection pooling? https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql-server-connection-pooling

    0 comments No comments