ADX 外部表失败,托管身份错误

问题描述 投票:0回答:1

我正在尝试在 Azure 数据资源管理器中创建一个新的外部表 (kind=delta)。 我的代码是标准的:

.create-or-alter external table external_someexport
(col1:int, col2:int, mydate:datetime )
kind=delta
( 
  h@'https://mystorageaccount.dfs.core.windows.net/mydir/;managed_identity=system)'
 )

现在我收到一个奇怪的错误,指向使用托管身份:

 "code": "Internal service error",
    "message": "Request aborted due to an internal service error.",
    "@type": "Kusto.Common.Svc.Exceptions.InvalidStorageConnectionStringsManagedIdentityException",
    "@message": "Invalid storage connection strings. When using managed identity authentication, all connection strings must reference the same managed identity."

这个错误是什么意思?我根本无法在代码中更改 MI,因为它只是 management_identity=system。我的所有其他表也都使用 management_identity=system

kql azure-data-explorer external-tables delta
1个回答
0
投票

您看到的错误消息表明您的外部表引用了多个连接字符串,这些连接字符串并非全部使用相同的托管标识。

在您提供的示例中,不应返回该错误消息。您确定是同一个问题产生的吗?

谢谢, 沙尼

© www.soinside.com 2019 - 2024. All rights reserved.