question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure.Identity add support for Azure SQL client authentication

See original GitHub issue

Currently Azure.Services.AppAuthentication has support for authenticating Azure SQL clients through the SqlAppAuthenticationProvider. Azure Identity needs to provide a similar provider to allow people to authenticate SQL clients using the ManagedIdentityCredential or DefaultAzureCredential. This needs to be designed and implemented.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
christothescommented, Jun 22, 2021

Microsoft.Data.SqlClient recently added support for a connection string option that will use DefaultAzureCredential under the covers - Details here:

https://docs.microsoft.com/en-us/sql/connect/ado-net/sql/azure-active-directory-authentication?view=sql-server-ver15#using-active-directory-default-authentication

0reactions
Frankd4commented, Jun 12, 2021

Any update on this ?

Microsoft.Azure.Services.AppAuthentication is no longer recommended to use with new Azure SDK. It is replaced with new Azure Identity client library available for .NET, Java, TypeScript and Python and should be used for all new development. Information about how to migrate to Azure Identitycan be found here: AppAuthentication to Azure.Identity Migration Guidance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connect to Azure SQL with Azure AD authentication and ...
Describes how to use supported Azure Active Directory authentication modes to connect to Azure SQL data sources with SqlClient.
Read more >
Managed identity in Azure AD for Azure SQL
Azure Active Directory (Azure AD) supports two types of managed identities: system-assigned managed identity (SMI) and user-assigned managed ...
Read more >
Configure and manage Azure AD authentication ...
Azure AD authentication supports the following authentication methods: Azure AD cloud-only identities; Azure AD hybrid identities that ...
Read more >
Access data with managed identity - Azure App Service
First, enable Azure Active Directory authentication to SQL Database by assigning an Azure AD user as the admin of the server.
Read more >
Enable Azure Active Directory only authentication
This article guides you through enabling the Azure AD-only authentication feature within Azure SQL Database and Azure SQL Managed Instance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found