When deploy function app using "azuredeploy.json" no functions inside is showing up

Xiuyang Bobby Sun 65 Reputation points
2024-02-21T21:06:43.7+00:00

Hi, After I deploy a function app as data connector with azuredeploy.json from here: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Fortinet%20FortiNDR%20Cloud/Data%20Connectors/azuredeploy_FortinetFortiNdrCloud_API_FunctionApp.json I see the function app was deployed successfully and running. But the functions are all missing. Could you please help with it? Here is what it looks like in the Portal: FunctionAppWithNoFunctions.png

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,591 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,247 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Xiuyang Bobby Sun 65 Reputation points
    2024-02-22T15:22:11.9266667+00:00

    I have got this issue resolved with the help of Microsoft support engineers. When zipping the functions of the data connector, we need to zip everything from the files level rather than putting them into a folder and then zip the folder. What I did was put everything in a DataConn folder and zipped the folder. This caused the issue that when custom deploying the function app, the portal downloaded the zip, unzipped it, and couldn't find the functions and everything else.

    1 person found this answer helpful.
    0 comments No comments

  2. Marcin Policht 40,540 Reputation points MVP
    2024-02-21T22:33:52.3566667+00:00

    This is what this template is meant to deploy. There are no functions included in the template - only the function app


    hth
    Marcin


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.