Proxy settings
Due to different proxy behavior between .NET Core (used by Tabular Editor 3) and .NET Framework (used by Tabular Editor 2 and DAX Studio), you may experience issues with connecting to external services, such as the Power BI service, when using Tabular Editor 3 behind a proxy server.
For example, you might see the following error message when trying to connect to the Power BI service:

Typical error messages you would see, are:
Title: Could not connect to server
Message:
No such host is known. (login.microsoftonline.com:443)Unable to obtain authentication token using the credentials providedThe requested address is not valid in its context. (login.microsoftonline.com:443)
When this happens, the first thing you should try is to change the proxy settings in Tabular Editor 3. You can find these settings under Tools > Preferences > Tabular Editor > Proxy Settings:

In most cases, changing the Proxy Type from None to System will resolve the issue. This setting tells Tabular Editor 3 to use the system-wide proxy settings configured in Windows. If you are still experiencing issues, you can try setting the Proxy Type to Custom and enter the proxy server address and port manually.
If the custom proxy requires a user name and password, clear Use default credentials and enter them in Username and Password. If a custom proxy with a user name and password fails to authenticate, enter the password again under Tools > Preferences > Tabular Editor > Proxy Settings and click OK.
Important
After changing the proxy settings, you must restart Tabular Editor 3 for the changes to take effect.
.NET Core vs. .NET Framework proxy handling
If the suggestion above does not solve the problem, you can try the following alternative solution:
Create a file called AnalysisServices.AppSettings.json and put it in the installation folder for Tabular Editor 3 (i.e. the same folder that TabularEditor3.exe resides in). Add the following content to the file:
{
"asConfiguration": {
"authentication": {
"msalConnectivityMode": "external"
}
}
}
To turn on external MSAL proxy support for all .NET core applications on your machine, you can also set the following environment variable rather than using the AppSettings file as described above:
| Environment variable name | Environment variable value |
|---|---|
| MS_AS_MsalConnectivityMode | 1 |
Enabling diagnostics
If you're still not able to connect after attempting the solutions outlined above, it may help to turn on advanced diagnostics logging. You can do that, either by modifying the AnalysisServices.AppSettings.json file to look like the following:
{
"asConfiguration": {
"authentication": {
"msalConnectivityMode": "external"
},
"diagnostics": {
"authenticationTrace": {
"isEnabled": true,
"traceLevel": 4,
"fileName": "<path to trace file>"
}
}
}
}
or if using Environment Variables, by setting the following:
| Environment variable name | Environment variable value |
|---|---|
| MS_AS_AADAUTHENTICATOR_LOG | 1 |
| MS_AS_AADAUTHENTICATOR_LOGLEVEL | 4 |
| MS_AS_AADAUTHENTICATOR_LOGFILE | <path to trace file> |
<path to trace file> must point to a file in a directory that exists. I.e. if you want the file to be written to c:\temp\logs\as-auth.log, you must ensure that the directory c:\temp\logs exists.
The contents of this trace file are useful when contacting Microsoft support.
Important
You must restart Tabular Editor 3 after making changes to the AnalysisServices.AppSettings.json file, or after modifying environment variables.