Function not visible when using function from private github repo in the app

Victor Skou Fertin 25 Reputation points
2024-06-09T19:33:30.35+00:00

Edit:

The issue was with importing functions from a private git repo I install in requirements. If this was commented out, the issue did not persist. However, the new issue is now: Why does it work locally when installing a private git repo and importing it into the function_app.py but it can not be deployed successfully?


Hi all,

I am rather new to Azure Functions and wish to create a blob trigger. Following the guide provided by Microsoft I have successfully deployed a function from VS Code which just moves the uploaded file to another folder.

I am now trying a more complex function which uses some scripts from Github (installed in requirements) and the goal is to process the uploaded file before saving the output in a new folder. It still uses the template provided by Microsoft when using VS code for Blob Triggers, so folder structure is similar.
It works when I test it locally (https://learn.microsoft.com/en-us/azure/azure-functions/functions-event-grid-blob-trigger?pivots=programming-language-python) and all expected functionality is running as expected.

However, when I deploy it, it does not show in the list under functions. Any ideas why this could be? Would appreciate any sort of guidance. :)

Thanks!

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

1 answer

Sort by: Most helpful
  1. Pieter de Bruin 321 Reputation points Microsoft Employee
    2024-06-14T07:10:08.5566667+00:00

    Hi Victor,

    Sorry to hear about your experience.

    Do I understand correctly that you did deploy a Function to Azure successfully first? And then you "imported functions from another repo" and now it doesn't deploy?

    Can you explain more about your environment and steps you take to reproduce the issue? What exactly are you adding to your Function project? And how?

    When you say it runs locally but not in Azure, can you also share details of steps you take to deploy?

    Hope that helps,Pieter

    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.