Allow connect to Desktop

This commit is contained in:
christianwade 2019-08-09 20:51:06 -07:00
parent 4c86344a8e
commit 397740370f

View File

@ -410,7 +410,7 @@ namespace BismNormalizer.TabularCompare
// throw new Microsoft.AnalysisServices.ConnectionException($"Current user {WindowsIdentity.GetCurrent().Name} is not an administrator on the Analysis Server " + this.ServerName); // throw new Microsoft.AnalysisServices.ConnectionException($"Current user {WindowsIdentity.GetCurrent().Name} is not an administrator on the Analysis Server " + this.ServerName);
//} //}
if (amoServer.ServerMode != ServerMode.Tabular) if (amoServer.ServerMode != ServerMode.Tabular && amoServer.ServerMode != ServerMode.SharePoint) //SharePoint is what Power BI Desktop runs as
{ {
throw new ConnectionException($"Analysis Server {this.ServerName} is not running in Tabular mode"); throw new ConnectionException($"Analysis Server {this.ServerName} is not running in Tabular mode");
} }