Integrated Windows authentication with an Azure AD identity using Microsoft.Data.SqlClient
Connection string
This Microsoft SqlClient 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.