Saved Searches API

New Contributor

When using i receive the following error:

“{"error":{"code":"InvalidOperationArgument","message":"Saved search result not supported for the new query language"}}”


I've tried using  API versions “api-version=20150320” and “20170101preview" (dashes removed) and receive the above error.  Is Save Search supported in the new query language; if not, when will the API be updated?

2 Replies
best response confirmed by Daniel Thilagan (New Contributor)


I do not have information if such api will be created for the new language but you can get the query programmatically via the api:


and than execute it via the new api for executing queries:


The latest AzureRM modules also support executing query via the new api:


Hope this helps a little bit!


Thanks - this works! Couple of extra steps but the desired result is achieved.