逻辑应用联合分析查询

Logic apps union analytics query

在 Azure 流分析查询中,我通常可以合并来自不同应用程序洞察范围的结果。

例如:

app("myapplicationinsights.europewest").customEvents 
| union app("myapplicationinsights.europenorth").customEvents 

我想在逻辑应用程序中使用来自两个不同范围的结果。但是当我尝试这样做时,我得到以下状态代码为 400 的输出:

{
  "Message": "User input is invalid. Please check query syntax, Chart Type or other parameters data. Response Status=HttpJsonResponse: ResultStatus=BadRequest, Response Content={\r\n  \"error\": {\r\n    \"message\": \"The request had some invalid properties\",\r\n    \"code\": \"BadArgumentError\",\r\n    \"details\": [\r\n      {\r\n        \"code\": \"InsufficientAccessToResource\",\r\n        \"message\": \"Cannot access 'applicationinsights.europenorth' with the current credentials\",\r\n        \"target\": \"query\",\r\n        \"value\": \"applicationinsights.europenorth\"\r\n      }\r\n    ]\r\n  }\r\n}\r\nclientRequestId: 02d4ffeb-906b-4230-b5df-fe5d482f9718"
}

错误很明显。但是如何在逻辑应用程序分析查询中指定多个 AIConnection?

"Run query and list results (Preview)" 能够处理联合。所以我用“运行 查询和列表结果(预览)替换了我的 "Run Analytics query"。