I want to deploy azure function in java with existing resources

Aniket Paranjpe 0 Reputation points
2025-05-18T07:11:40.5233333+00:00

I want to deploy azure function in java configuring existing like I want to use my existing storage account . Every time when I create azure function and deploy it then it creates new storage account. Also need to create output binding with storage blob. But there is not enough documentation which explain in details.

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

2 answers

Sort by: Most helpful
  1. Anonymous
    2025-05-20T03:39:13.4966667+00:00

    When creating a Function App, a general-purpose Azure Storage account is required and must be either created or linked during setup. This storage account must support Blobs, Queues, and Tables

    If a storage account isn't visible or available during creation, it's likely that the selected type isn't supported (e.g., premium file-only accounts). Refer to the official documentation for supported types: Azure Functions – Storage Account Requirements 

    After the Function App is created, you can still interact with other storage resources by: 

    Adding connection strings in App Settings. 

    Mounting an Azure File share via the Path Mappings blade (Linux apps only). 

    Connecting through code using the Azure SDK (e.g., to access Blob Storage). 

    Existing storage accounts can be integrated later, provided they meet the required criteria. 

    If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated. 

    0 comments No comments

  2. Sai Prabhu Naveen Parimi 2,185 Reputation points Microsoft External Staff Moderator
    2025-05-22T07:59:17.5033333+00:00

    @Aniket Paranjpe

    Thanks for reaching out.

    To configure your Azure Function in Java to use an existing storage account and set up blob output binding via the Azure Portal, here are the steps along with the official documentation for reference:

    1. Use Existing Storage Account

    • Go to your Function App in the Azure Portal.
    • Navigate to Configuration under Settings.
    • Update the AzureWebJobsStorage setting with the connection string of your existing storage account. App settings reference for Azure Functions

    2. Configure Blob Output Binding

    • In the Function App, go to Functions > select your function > Integration.
    • Add a new Output binding.
    • Choose Azure Blob Storage as the type.
    • Specify the blob path (e.g., container/output.txt) and select the storage account setting (e.g., AzureWebJobsStorage). Azure Blob Storage Output Binding for Azure Functions Please let me know if you need help
    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.