Azure AD identity specifying username and password 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 using an Azure AD identity with a specific user, Authentication should be set to Active Directory Password.

Server=tcp:myserver.database.windows.net,1433;
Authentication
=Active Directory Password;
Database=myDataBase;
UID
=myUser@myDomain;
PWD=myPassword;