Kusto.Explorer - 身份验证问题

Kusto.Explorer - Authentication Trouble

我在 Kusto.Explorer 桌面应用程序 1.0.3.949 中添加连接时遇到问题。我可以通过 Web UI 登录,但在桌面应用程序中它给了我这个错误:

This normally represents a permanent error, and retrying is unlikely to help.
Please provide the following information when contacting the Kusto team @ https://aka.ms/kustosupport :
DataSource='https://m1explorer.westus.kusto.windows.net/v1/rest/mgmt',
DatabaseName='NetDefaultDB',
ClientRequestId='KD2RunCommand;5723fa83-9dd5-48fe-a1ee-5d4ddb7f9cd9',
ActivityId='74b41f5e-be7c-46be-88f5-dae1a6d35c30,
Timestamp='2020-08-02T18:48:13.6846740Z'.

在 Kuskus VSCode 扩展甚至 Web UI 等其他应用程序中,问题似乎是它使用“通用”tenant/authority id 作为默认值。有没有办法在添加连接时指定租户ID?它说你可以导入一个 .xml 文件,但我不确定在哪里或如何生成它。

谢谢,

史蒂文

请尝试在以下位置描述的方法: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/tools/kusto-explorer#control-the-user-identity-connecting-to-kustoexplorer

The default security model for new connections is AAD-Federated security. Authentication is done through the Azure Active Directory using the default AAD user experience.

If you need finer control over the authentication parameters, you can expand the "Advanced: Connection Strings" edit box and provide a valid Kusto connection string value.

For example, users with a presence in multiple AAD tenants sometimes need to use a particular "projection" of their identities to a specific AAD tenant. Do this by providing a connection string, such as the one below (replace words IN CAPITALS with specific values):

Data Source=https://CLUSTER_NAME.kusto.windows.net;Initial Catalog=DATABASE_NAME;AAD Federated Security=True;Authority Id=AAD_TENANT_OF_CLUSTER;User=USER_DOMAIN