I'm experiencing an issue while trying to create a Stream Analytics job output to Data Explorer using the New-AzStreamAnalyticsOutput cmdlet in PowerShell. The data source JSON I'm using for the configuration is as follows:
However, when I run the cmdlet, I receive the following error:
New-AzStreamAnalyticsOutput_Create: C:\Users\YourUser\Documents\PowerShell\Modules\Az.StreamAnalytics\2.0.0\exports\ProxyCmdletDefinitions.ps1:4505:9
Line |
4505 | $steppablePipeline.Begin($PSCmdlet)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The JSON provided in the request body is invalid. Required property 'properties' not found in JSON. Path '', line 9, position 19.
I'm not sure what I'm doing wrong here. I noticed that the Az.StreamAnalytics 2.0.0 was published on 2021-05-25. However, the latest non-preview ARM rest endpoint for Stream Analytics is from 2020-03-01. Could it be that creating a Data Explorer output simply does not work yet with Az.StreamAnalytics 2.0.0?
Any help or guidance would be greatly appreciated. Thanks!
Description
I'm experiencing an issue while trying to create a Stream Analytics job output to Data Explorer using the
New-AzStreamAnalyticsOutput
cmdlet in PowerShell. The data source JSON I'm using for the configuration is as follows:However, when I run the cmdlet, I receive the following error:
I'm not sure what I'm doing wrong here. I noticed that the Az.StreamAnalytics 2.0.0 was published on 2021-05-25. However, the latest non-preview ARM rest endpoint for Stream Analytics is from 2020-03-01. Could it be that creating a Data Explorer output simply does not work yet with Az.StreamAnalytics 2.0.0?
Any help or guidance would be greatly appreciated. Thanks!
Issue script & Debug output
Environment data
Module versions
Error output