Microsoft SqlClient Data Provider for SQL Server
Standard
Server=tcp:myserver.database.windows.net,1433;Database=myDataBase;User ID=mylogin@myserver;Password=myPassword;Trusted_Connection=False;Encrypt=True;
With MARS enabled
Server=tcp:myserver.database.windows.net,1433;Database=myDataBase;User ID=mylogin@myserver;Password=myPassword;Trusted_Connection=False;Encrypt=True;MultipleActiveResultSets=True;
Integrated Windows authentication with an Azure AD identity
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;
Azure AD identity specifying username and password
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;
Always Encrypted
Data Source=myServer;Initial Catalog=myDB;Integrated Security=true;Column Encryption Setting=enabled;
Use 'mylogin@myserver' for the User ID parameter.