Integrated Windows authentication with an Azure AD identity using SqlConnection
Connection string
This .NET Framework Data Provider for SQL Server connection string can be used for connections to Azure SQL Database.
To connect with integrated authentication and Azure AD identity, Authentication should be set to Active Directory Integrated. The client must be running on a machine joined to the domain.
Server=tcp:myserver.database.windows.net,1433;
Authentication=Active Directory Integrated;Database=mydatabase;
Note! You cannot use Integrated Security=True/SSPI when connecting to Azure SQL Database.