[Python] Deploying python function apps to azure

Discussão em 'Python' iniciado por Stack, Setembro 8, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to make my first python function app. The app is just a simple app that creates a blob file. The code runs locally. However when I deploy to Azure I dont see the function app.

    If I remove this, then it works:

    from azure.identity import DefaultAzureCredential
    from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient


    Full code:

    import logging
    import datetime
    import azure.functions as func

    from azure.identity import DefaultAzureCredential
    from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient

    app = func.FunctionApp()

    @app.timer_trigger(schedule="0 * * * * *", arg_name="myTimer", run_on_startup=False, use_monitor=False)
    def timer_trigger(myTimer: func.TimerRequest) -> None:

    logging.info('Python timer trigger function executed.')




    Configuration in azure:

    Continue reading...

Compartilhe esta Página