TrustServerCertificate=True;
to the connection string.-E
) but accidentally used Azure Active Directory Authentication (option -G
). Selecting the correct flags fixed it for me. Note that this is the equivalent of including Trusted_Connection=True
in the connection string.