Issue with Azure Blob Storage Connection After Deploying Azure Functions
KodaiShatani-4443
0
評価のポイント
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?
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")
サインインして回答する