title: Cannot deploy metadata to Analysis Services
body: <p>Building a tabular model in Visual Studio I'm facing an issue when trying to deploy the model to the Analysis Service Server (SQL Server 2019 Standard). I get this error:</p>
  <blockquote>
  <p>Cannot deploy metadata. Reason: An error occurred while connecting to the server.</p>
  </blockquote>
  <p>I already set the deployment server in the model properties. And the last thing I tried was to set the Administrator local user of the SQL Server in the Impersonation Information dialog, but is giving me the invalid user / password error.</p>
  <p>Also tried to use Service Account, but having the same error.</p>
  <p>I can get the data from the SQL Server (using SQL Server Authentication) but the problem is when trying to deploy the model to the Analysis Server.</p>
  <p>Is this error caused because the servers are not part of an AD?</p>
  <p>Any way to work around this, or way to see any logs?</p>
  <p>Using Visual Studio 2017 and 2019.</p>
  <p>Thanks.</p>