A function app uses managed identity to write to Azure Blob Storage. Which environment variable must be set in the function app settings to use managed identity with the blob trigger/bindings?
- A AzureWebJobsStorage with connection string
- B AzureWebJobsStorage__ with identity-based connection (serviceUri + credential) (correct answer)
- C AZURE_CLIENT_ID
- D WEBSITE_RUN_FROM_PACKAGE
Shortcut: net) and AzureWebJobsStorage__credential = managedidentity to avoid connection strings.
For identity-based connections, set AzureWebJobsStorage__serviceUri (e.g., https://<account>.blob.core.windows.net) and AzureWebJobsStorage__credential = managedidentity to avoid connection strings.