使用 PowerBi 的 Azure 流分析失败
Posted
技术标签:
【中文标题】使用 PowerBi 的 Azure 流分析失败【英文标题】:Azure stream anaytics with PowerBi Fails 【发布时间】:2017-07-13 16:45:46 【问题描述】:我有一个流分析作业,它从 IoT 中心获取数据并将其发送到 PowerBi 和 azure 数据湖。单独编写数据 azure 数据湖可以完美运行,但是当我尝试将数据流式传输到 powerbi 时,我的蒸汽分析作业在首先写入输出后失败,并且我收到了以下错误日志。
"channels": "Operation",
"correlationId": "ff2593c9-cda2-498c-8e1f-6f13260ae32f",
"description": "Stream Analytics job status changed for last user action [Start job 'AVLStreamAnalytics'].",
"eventDataId": "953665c1-aec0-482d-852c-fdf3160cd6fb",
"eventName":
"value": "Start job 'AVLStreamAnalytics'",
"localizedValue": "Start job 'AVLStreamAnalytics'"
,
"category":
"value": "Administrative",
"localizedValue": "Administrative"
,
"eventTimestamp": "2017-07-13T16:35:46.2226177Z",
"id": "/subscriptions/161fc731-59a3-4173-9cf5-866b3188abf3/resourceGroups/AVLPOC/providers/Microsoft.StreamAnalytics/streamingjobs/AVLStreamAnalytics/events/953665c1-aec0-482d-852c-fdf3160cd6fb/ticks/636355605462226177",
"level": "Error",
"operationId": "2e5ed092-bb88-4dde-8e9f-2a9c0adc1f78",
"operationName":
"value": "Start job 'AVLStreamAnalytics'",
"localizedValue": "Start job 'AVLStreamAnalytics'"
,
"resourceGroupName": "AVLPOC",
"resourceProviderName":
"value": "Microsoft.StreamAnalytics",
"localizedValue": "Microsoft.StreamAnalytics"
,
"resourceType":
"value": "Microsoft.StreamAnalytics/streamingjobs",
"localizedValue": "Microsoft.StreamAnalytics/streamingjobs"
,
"resourceId": "/subscriptions/161fc731-59a3-4173-9cf5-866b3188abf3/resourceGroups/AVLPOC/providers/Microsoft.StreamAnalytics/streamingjobs/AVLStreamAnalytics",
"status":
"value": "Failed",
"localizedValue": "Failed"
,
"subStatus":
"value": "",
"localizedValue": ""
,
"submissionTimestamp": "2017-07-13T16:35:59.7904001Z",
"subscriptionId": "161fc731-59a3-4173-9cf5-866b3188abf3",
"properties":
"JobFailedMessage": "The streaming job failed.",
"JobId": "ff2593c9-cda2-498c-8e1f-6f13260ae32f",
"JobRunId": "d43b6623-3f9a-4e88-8c7d-21f8788e5cdd",
"JobRunCreatedDateTime": "2017-07-13 16:31:17Z",
"JobRunLastUpdateDateTime": "2017-07-13 16:35:46Z",
"JobRunStatus": "Failed",
"JobContentVersion": "1.10",
"JobFrameworkVersion": "1.2.61907.22"
,
"relatedEvents": []
任何工作失败的想法都是完美的。我很确定我在 power bi 应用程序的范围内。
【问题讨论】:
通常我们可以从活动日志中找到有用的信息,但是你得到的错误信息"JobFailedMessage": "The streaming job failed."
非常笼统,很难找出问题所在。我想知道您是否在开始作业之前使用示例数据文件测试您的查询。
【参考方案1】:
您需要从流分析中授权 Power BI 订阅。
【讨论】:
以上是关于使用 PowerBi 的 Azure 流分析失败的主要内容,如果未能解决你的问题,请参考以下文章
Windows IoT、IoT 中心、流分析、Azure SQL、Power BI - 啥是正确的路径? [关闭]