title: "No mapping between account names and security IDs was done." connecting to Azure managed instance
body: <p>Connecting to an Azure Managed instance through Active Directory using the below connection string:</p>
  <pre><code>Server=tcp:server.address.database.windows.net,1433;Authentication=Active Directory Integrated;Database=MyDB;Application Name=MyApp;
  </code></pre>
  <p>returns an error</p>
  <pre><code>No mapping between account names and security IDs was done.
  </code></pre>
  <p>Connecting via server admin:</p>
  <pre><code>Server=tcp:server.address.database.windows.net,1433;User ID=someUser;Password=somePass;Database=MyDB;Application Name=MyApp;
  </code></pre>
  <p>works absolutely fine.</p>
  <p>I have:</p>
  <ol>
  <li><p>checked all listed users with AD authentication in the DB exist in AD</p>
  </li>
  <li><p>Started a trace for all calls to the server. Nothing is hitting it.</p>
  </li>
  <li><p>Started a log for the server. Nothing is hitting it.</p>
  </li>
  <li><p>Run the MS Azure diagnostic. Nothing is hitting the server.</p>
  </li>
  </ol>
  <p>Can anyone point me in a more sensible direction?</p>