Forum Discussion

kileri _'s avatar
kileri _
Copper Contributor
Oct 13, 2017

Upgrading the workspace for improved query cause ps to stop working

Hello all,

 

Previous to workspace upgrade, I was able to issue a query with Get-AzureRmOperationalInsightsSearchResults and get proper results back. After upgrade this is what I am getting back. Any advise on how to troubleshoot the issue?

 

$OmsQuery='AzureDiagnostics | where Category !contains "Output" '

Get-AzureRmOperationalInsightsSearchResults -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceName -Query $OmsQuery


Id :
Metadata : Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchMetadata
Error : Microsoft.Azure.Commands.OperationalInsights.Models.PSSearchError
Value :

Resources