azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Search-AzGraph and Parse() not working

Open joezuchora opened this issue 7 years ago • 3 comments

#9731 Description Unable to pass a query that completes successfully into the Azure Resource Graph Explorer into Search-AzGraph.

where type =~ 'Microsoft.Sql/servers/databases' | parse id with * '/servers/' sqlservertemp | project subscriptionId,resourceGroup, name, id, sqlServer = substring(sqlservertemp,0,indexof(sqlservertemp,'/databases/')) | summarize by subscriptionId,resourceGroup, sqlServer

image

Steps to reproduce

$array = @()
[array]$array = search-AzGraph -Query "where type =~ 'Microsoft.Sql/servers/databases'`
| parse id with * '/servers/' sqlservertemp `
| project subscriptionId,resourceGroup, name, id, sqlServer = substring(sqlservertemp,0,indexof(sqlservertemp,'/databases/')) `
| summarize by subscriptionId,resourceGroup, sqlServer" `
-First 1000

$array

which outputs search-AzGraph : { "error": { "code": "BadRequest", "message": "Please provide below info when asking for support: timestamp = 2019-08-16T13:10:15.1471007Z, correlationId = 25d973ce-35df-4aeb-ae79-af94e18193e9.", "details": [ { "code": "InvalidQuery", "message": "Query is invalid. Please refer to the documentation for the Azure Resource Graph service and fix the error before retrying." } ] } } At line:2 char:17

  • ... ay]$array = search-AzGraph -Query "where type =~ 'Microsoft.Sql/serve ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : CloseError: (:) [Search-AzGraph], ErrorResponseException
    • FullyQualifiedErrorId : BadRequest,Microsoft.Azure.Commands.ResourceGraph.Cmdlets.SearchAzureRmGraph

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.17763.592
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.592
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module versions

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.6.1      Az.Accounts                         {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...}
Script     1.5.3      Az.Accounts                         {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...}
Script     1.0.1      Az.Aks                              {Get-AzAks, New-AzAks, Remove-AzAks, Import-AzAksCredential...}
Script     1.1.0      Az.AnalysisServices                 {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer...}
Script     1.1.0      Az.ApiManagement                    {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup...}
Script     1.0.0      Az.ApplicationInsights              {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Set-AzApplicationInsightsPricingPlan...}
Script     1.2.2      Az.Automation                       {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration...}
Script     1.1.0      Az.Batch                            {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount...}
Script     1.0.0      Az.Billing                          {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget...}
Script     1.3.0      Az.Cdn                              {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile...}
Script     1.1.1      Az.CognitiveServices                {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType...}
Script     2.3.0      Az.Compute                          {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet...}
Script     1.0.1      Az.ContainerInstance                {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script     1.0.1      Az.ContainerRegistry                {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry...}
Script     1.1.1      Az.DataFactory                      {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2...}
Script     1.0.0      Az.DataLakeAnalytics                {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCredential...}
Script     1.2.1      Az.DataLakeStore                    {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider...}
Script     1.0.0      Az.DeploymentManager                {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSource...}
Script     1.0.0      Az.DevTestLabs                      {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy...}
Script     1.1.1      Az.Dns                              {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet...}
Script     1.2.0      Az.EventGrid                        {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey...}
Script     1.2.0      Az.EventHub                         {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace...}
Script     1.1.0      Az.FrontDoor                        {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor...}
Script     2.0.0      Az.HDInsight                        {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition...}
Script     1.1.0      Az.IotHub                           {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob...}
Script     1.2.0      Az.KeyVault                         {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation...}
Script     1.2.1      Az.LogicApp                         {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl...}
Script     1.1.0      Az.MachineLearning                  {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan...}
Script     1.0.0      Az.MarketplaceOrdering              {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script     1.1.0      Az.Media                            {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability...}
Script     1.2.1      Az.Monitor                          {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile...}
Script     1.10.0     Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCe...
Script     1.1.0      Az.NotificationHubs                 {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential...}
Script     1.3.0      Az.OperationalInsights              {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsightsIISLogCollect...
Script     1.1.1      Az.PolicyInsights                   {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation...}
Script     1.1.0      Az.PowerBIEmbedded                  {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace...}
Script     1.4.1      Az.RecoveryServices                 {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault...}
Script     1.1.0      Az.RedisCache                       {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule...}
Script     1.0.1      Az.Relay                            {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace...}
Script     0.7.4      Az.ResourceGraph                    Search-AzGraph
Script     1.5.0      Az.Resources                        {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment...}
Script     1.2.0      Az.ServiceBus                       {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace...}
Script     1.1.1      Az.ServiceFabric                    {Add-AzServiceFabricApplicationCertificate, Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode...}
Script     1.0.2      Az.SignalR                          {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey...}
Script     1.12.0     Az.Sql                              {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint...}
Script     1.4.0      Az.Storage                          {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey...}
Script     1.0.0      Az.StreamAnalytics                  {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStreamAnalyticsFunction...}
Script     1.0.1      Az.TrafficManager                   {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile...}
Script     1.3.0      Az.Websites                         {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan...}
Binary     2.0.2.24   AzureADPreview                      {Add-AzureADApplicationOwner, Get-AzureADApplication, Get-AzureADApplicationExtensionProperty, Get-AzureADApplicationOwner...}
Binary     16.0.91... Microsoft.Online.SharePoint.Powe... {Register-SPODataEncryptionPolicy, Update-SPODataEncryptionPolicy, Get-SPODataEncryptionPolicy, Get-SPOSiteDataEncryptionPolicy...}
Script     1.0.1      Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}
Binary     1.0.0.1    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...}
Script     3.4.0      Pester                              {Describe, Context, It, Should...}
Script     1.0.0.1    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}
Script     2.0.0      PSReadline                          {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption...}
Script     1.0.29     PSSoftware                          {Compare-FilePath, Compare-FolderPath, Convert-CompressedGuidToGuid, Convert-GuidToCompressedGuid...}
Script     21.1.18135 SqlServer                           {Add-RoleMember, Add-SqlAvailabilityDatabase, Add-SqlAvailabilityGroupListenerStaticIp, Add-SqlAzureAuthenticationContext...}

Debug output

DEBUG: 9:12:17 AM - SearchAzureRmGraph begin processing with ParameterSet '__AllParameterSets'.
DEBUG: 9:12:17 AM - using account id '[email protected]'...
DEBUG: [Common.Authentication]: Authenticating using Account: '[email protected]', environment: 'AzureCloud', tenant: 'c1e0b6a1-e090-4c0a-b206-30f26baf583d'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: 'c1e0b6a1-e090-4c0a-b206-30f26baf583d', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/c1e0b6a1-e090-4c0a-b206-30f26baf583d/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'c1e0b6a1-e090-4c0a-b206-30f26baf583d', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3626803Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3626803Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3626803Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: === Token Acquisition started: 
        CacheType: null
        Authentication Target: User
        , Authority Host: login.microsoftonline.com

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3626803Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: === Token Acquisition started:
        Authority: https://login.microsoftonline.com/c1e0b6a1-e090-4c0a-b206-30f26baf583d/
        Resource: https://management.core.windows.net/
        ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
        CacheType: null
        Authentication Target: User


DEBUG: [ADAL]: Verbose: 2019-08-16T13:12:17.3626803Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Verbose: 2019-08-16T13:12:17.3626803Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: Loading from cache.

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3835972Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 185 items to token cache.

DEBUG: [ADAL]: Verbose: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Verbose: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: Looking up cache for a token...

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: An item matching the requested resource was found in the cache

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: 16.904523365 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: 16.904523365 minutes left until token in cache expires

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 8/16/2019 1:29:11 PM +00:00

DEBUG: [ADAL]: Information: 2019-08-16T13:12:17.3845981Z: aa8aeb18-fc0d-4b8d-a4be-41b19c39fce0 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 8/16/2019 1:29:11 PM +00:00Access Token Hash: ljPenaSRrZoJAIrfqYi0Ys6dvdKoQraBUGJhlKkpNjA=
         User id: ec3c28fc-ae80-41f5-ac72-e5cff6a09894

DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '08/16/2019 13:29:11 +00:00', MultipleResource? 'True', Tenant: 'c1e0b6a1-e090-4c0a-b206-30f26baf583d', UserId: '[email protected]'
DEBUG: [Common.Authentication]: User info for token DisplayId: '[email protected]', Name:  , IdProvider: 'https://sts.windows.net/f9796dfa-f91c-4095-8663-e77a96f2d645/', Uid: 'ec3c28fc-ae80-41f5-ac72-e5cff6a09894'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '08/16/2019 13:29:11 +00:00' Comparing to '08/16/2019 13:12:17 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:16:54.2684136'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
POST

Absolute Uri:
https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2019-04-01

Headers:
x-ms-client-request-id        : c3e0f962-1909-49e8-99be-d103aabc72e0
accept-language               : en-US

Body:
{
  "subscriptions": [
    "1495390c-478c-45b5-b6f8-4807916566b7"
  ],
  "query": "where type =~ 'Microsoft.Sql/servers/databases'\r\n| parse id with * '/servers/' sqlservertemp \r\n| project subscriptionId,resourceGroup, name, id, sqlServer = substring(sqlservertemp,0,indexof(sqlservertemp,'/databases/')) \r\n| summarize by subscriptionId,resourceGroup, sqlServer",
  "options": {
    "$top": 1000,
    "$skip": 0,
    "resultFormat": "objectArray"
  }
}


DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
BadRequest

Headers:
Pragma                        : no-cache
Strict-Transport-Security     : max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-tenant-resource-requests: 14
x-ms-user-quota-remaining     : 14
x-ms-user-quota-resets-after  : 00:00:05
x-ms-ratelimit-remaining-tenant-reads: 11999
x-ms-request-id               : 94fdf7a2-aff9-4df3-8efd-264ce941ae09
x-ms-correlation-request-id   : 94fdf7a2-aff9-4df3-8efd-264ce941ae09
x-ms-routing-request-id       : NORTHCENTRALUS:20190816T131217Z:94fdf7a2-aff9-4df3-8efd-264ce941ae09
X-Content-Type-Options        : nosniff
Cache-Control                 : no-cache
Date                          : Fri, 16 Aug 2019 13:12:17 GMT
Server                        : Microsoft-HTTPAPI/2.0

Body:
{
  "error": {
    "code": "BadRequest",
    "message": "Please provide below info when asking for support: timestamp = 2019-08-16T13:12:17.7936130Z, correlationId = 94fdf7a2-aff9-4df3-8efd-264ce941ae09.",
    "details": [
      {
        "code": "InvalidQuery",
        "message": "Query is invalid. Please refer to the documentation for the Azure Resource Graph service and fix the error before retrying."
      }
    ]
  }
}


search-AzGraph : {
  "error": {
    "code": "BadRequest",
    "message": "Please provide below info when asking for support: timestamp = 2019-08-16T13:12:17.7936130Z, correlationId = 94fdf7a2-aff9-4df3-8efd-264ce941ae09.",
    "details": [
      {
        "code": "InvalidQuery",
        "message": "Query is invalid. Please refer to the documentation for the Azure Resource Graph service and fix the error before retrying."
      }
    ]
  }
}
At line:2 char:17
+ ... ay]$array = search-AzGraph -Query "where type =~ 'Microsoft.Sql/serve ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Search-AzGraph], ErrorResponseException
    + FullyQualifiedErrorId : BadRequest,Microsoft.Azure.Commands.ResourceGraph.Cmdlets.SearchAzureRmGraph
DEBUG: AzureQoSEvent: CommandName - Search-AzGraph; IsSuccess - False; Duration - 00:00:00.2691201; Exception - Microsoft.Azure.Management.ResourceGraph.Models.ErrorResponseException: Operation returned an invalid status code 'BadRequest'
   at Microsoft.Azure.Management.ResourceGraph.ResourceGraphClient.<ResourcesWithHttpMessagesAsync>d__48.MoveNext();
DEBUG: Finish sending metric.
DEBUG: 9:12:18 AM - SearchAzureRmGraph end processing.
DEBUG: 9:12:18 AM - SearchAzureRmGraph end processing.
PS C:\Users\jzuchora\source\repos\OneStreamBuild>

joezuchora avatar Aug 16 '19 13:08 joezuchora

@demyanenko would you mind taking a look at this issue?

cormacpayne avatar Aug 20 '19 22:08 cormacpayne

I've tried to reproduce the issue but the same query succeeds for me. Logs from the correlation id have not been particularly useful either.

The good news is, we rolled out improved error messages for InvalidQuery errors after the issue got created. Could you try re-running the query and paste the debug output here if the failure persists?

ilidemi avatar Aug 26 '19 23:08 ilidemi

The issue seems to have been resolved closing.

chiragg4u avatar May 12 '20 00:05 chiragg4u