I want to query the application settings on a function app from resource graph

oblivion 1 Reputation point
2022-02-19T18:33:38.437+00:00

If possible I would like to query that info, all the function apps have a application settings that exists somewhere in a json file that i cant query. I wanted to do it so i can query many azure function apps application settings at one time.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2022-02-21T13:12:03.607+00:00

    @oblivion You cannot use Resource Graph to get the appsettings details of your function app.
    The workaround will be using the Management REST API, Powershell or CLI to get the app setting details of the function app.

    In case if you are using Azure Management API You need to write your custom logic to first query all the function apps on your subscription using Web Apps List API and filter with the function app. Now use List Application Settings API to get the app setting for a particular function app.

    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.