次の方法で共有

Issue with Azure Blob Storage Connection After Deploying Azure Functions

KodaiShatani-15503377 0 評価のポイント
2025-01-01T12:14:58.46+00:00

Issue

I deployed an Azure Functions app using the Blob trigger template directly from Visual Studio Code. Despite selecting an existing Azure remote storage account, when I check the function’s “Integration” tab in the Azure portal and select “Trigger,” the “Storage account connection” field is grayed out and displays “Click select to choose a connection” What could be causing this issue, and how can I resolve it?

スクリーンショット 2025-01-01 210905

code: function_app.py

import azure.functions as func
import logging

app = func.FunctionApp()

@app.blob_trigger(arg_name="myblob", path="mycontainer",
                               connection="storagesample_STORAGE") 
def blob_trigger(myblob: func.InputStream):
    logging.info(f"Python blob trigger function processed blob"
                f"Name: {myblob.name}"
                f"Blob Size: {myblob.length} bytes")
Azure
Azure

Microsoft が管理する世界のデータ センター ネットワークを介してアプリケーションとサービスを構築、配置、および管理するインフラストラクチャおよびクラウド コンピューティング プラットフォーム。


お客様の回答

質問作成者は回答に "承認済み"、モデレーターは "おすすめ" とマークできます。これにより、ユーザーは作成者の問題が回答によって解決したことを把握できます。