Azure resource graph connection with Logic apps

SPK545 36 Reputation points
2020-12-10T18:54:38.113+00:00

hello,

Is there any way to connect Azure resource graph explorer with Logic apps, I'm trying to execute the below process in the automation process

1) I need to run a query from the Azure Resource graph and export those results on daily basis to the Azure database

2) I'm currently running query (KQL to know about resources in Azure) and exporting into CSV file, sending them manually

Please provide your thoughts

TIA

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,476 Reputation points Microsoft Employee Moderator
    2020-12-11T18:23:03.87+00:00

    Hello @SPK545 , apologies for the delay. My suggestion to automate the process above will be to perform queries using REST endpoint of Azure resource graph as using logic app you can call a HTTP endpoint using Azure Logic App.
    For the first process you can have a Reoccurrence trigger for your logic app and then perform the HTTP action as mentioned above to run the query and use the Azure SQL database connector for Logic app to insert the results.
    For the second process you can run the query as mentioned above and then use data operation functionality of the Logic App to write a CSV table and use any Email connectors Like Gmail or Outlook to send the data out.

    Please let me know if there are any concerns. Thank you!


  2. Prerana Prajapat 46 Reputation points Microsoft Employee
    2021-08-18T06:27:44.467+00:00

    @ChaitanyaNaykodi-MSFT @SPK545 @John Joyner were you able to automate this process? I am facing similar challenge

    0 comments No comments

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.