Failing to edit, delete or replace an azure graph query due to location not supported.

Anjali Gobari 20 Reputation points
2025-02-06T15:38:39.41+00:00

Hi Team,

The graph query Config got created in the past few weeks using the west europe location. But starting this week, the query can't be edited, deleted or replaced because the location is no longer supported.  

Tried using the portal (see screenshot) but the resource can't be deleted to be replaced.

Tried using azure powershell and fails in the same way. See below

errorSharedQuery.png

Get-AzResourceGraphQuery -ResourceGroupName "xyz" -Name Config Get-AzResourceGraphQuery : No registered resource provider found for location 'westeurope' and API version '2018-09-01-preview' for type 'queries'. The supported api-versions are '2018-09-01-preview, 2024-04-01'. The supported locations are 'global'. At line:1 char:1 + Get-AzResourceGraphQuery -ResourceGroupName "GT-WEU-GTP-MONITORING-RS ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : InvalidOperation: ({ SubscriptionI...e = Config }:<>f__AnonymousType03) [Get-AzResourceGraphQuery_Get], RestException1     + FullyQualifiedErrorId : NoRegisteredProviderFound,Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Cmdlets.GetAzResourceGraphQuery_Get

 

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,455 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.