title: What would be the connection string of a .Net Core web app that runs on Linux and connects to SQL server using an AD account
body: <p>On windows the web app service would run under a service account and that service account would have permissions to connect to the SQL server and DB. Using a connection string similar to this:</p>
  <pre><code>Server=SqlServerName;Database=WebAppSample1;Trusted_Connection=True;MultipleActiveResultSets=true;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;
  </code></pre>
  <p>My company wants the web app to run on Linux, is there a special way to configure the web app or the connection string so that the web app continues to use the AD account to connect to SQL server or the only option is to specify a user name and password:</p>
  <pre><code>Server=SqlServerName;Initial Catalog=WebAppSample1;Persist Security Info=False;User ID=***;Password=***;MultipleActiveResultSets=True;Encrypt=True;TrustServerCertificate=True;Connection Timeout=30;
  </code></pre>