title: KQL Integration with VS Code
body: <p>I have been working with Azure Resource Graphs to explore resources and security recommendations over a subscription. However, I'd like to generate the Kusto Query Language (KQL) requests from local computer using VS Code. I've been doing some search over this topic however, I can't find a way to do so.</p>
  <p>I have installed &quot;Kusto Notebooks&quot; extension, but it's not working or connected to Azure Resource Graph. I know that I can create requests in VS Code using Azure cli command &quot;az graph query&quot;, but it requires some changes in the syntax and I don't want to change each query that I write or come across twice, one for VS Code and another for Azure Resource Graph. Therefore, I'd like to use the same syntax that I insert in Azure Resource Graph, locally. When I try to run a very simple query such in Kusto Notebook like this one to simply return the count number of my subscription:</p>
  <p>*Resources</p>
  <p>| summarize count()*</p>
  <p>It returns the below message:</p>
  <p>*Error loading preloads:</p>
  <p>Could not find renderer*</p>
  <p><a href="https://i.stack.imgur.com/TXGk4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TXGk4.png" alt="enter image description here" /></a></p>
  <p>I've come across this Github article explaining that, but I don't understand which directory should I open or where the files &quot;azgraph_subguid.txt&quot; &amp; &quot;azgraph_output.txt&quot; exists. The link below refers to the article:</p>
  <p><a href="https://github.com/olileger/azure-resource-graph-helper" rel="nofollow noreferrer">https://github.com/olileger/azure-resource-graph-helper</a></p>
  <p>Note:</p>
  <p>I installed &quot;Kusto Language Server&quot; VS code extension, but it requires to create a connection either using &quot;Azure Data Explorer&quot; or &quot;Application Insights&quot; and I don't have neither resources of them. I want to use Azure Resource Graph.</p>
  <p>Can anyone help with that, plz</p>
  <p>Thanks,</p>