Skip to content

  • Home
  • BlogExpand
    • CloudExpand
      • Cloud Networking
      • Cloud Security
      • Kubernetes
Home / Troubleshooting /
Troubleshooting

Resolved: Azure Function App Not Connecting to Storage Account & Functions Not Visible in Overview

ByMAK March 11, 2026March 31, 2026
views (Today/Total) 1800 / 1800
4 min read
ChatGPT Summarize in ChatGPT

Table of Contents

  • Problem Summary – Azure Function App Not Connecting to Storage Account
  • Environment Architecture
    • Function App Configuration
    • Storage Account Configuration
    • Root Cause Analysis
    • Solution
    • Required IAM Roles on Storage Account (Assigned to UMI)
    • Mandatory Application Settings (Environment Variables)
  • Problem Summary – Azure Function App Not Visible in Overview

Problem Summary – Azure Function App Not Connecting to Storage Account

In a secure enterprise setup, an Azure Function App running on Elastic Premium failed to:

Storage considerations for Azure Functions
  1. Connect to the Azure Storage Account (host storage – AzureWebJobsStorage)
  2. Display functions on the Overview / Functions blade in Azure Portal

Despite successful deployment, the portal showed below error:

Azure Portal –>Resource Health–>Availability and Performance–>Functions that are not triggering

AzureWebStorage - Azure Function App Not Connecting to Storage Account

Environment Architecture

Function App Configuration
  • Plan: Elastic Premium
  • OS: Linux
  • User Assigned Managed Identity (UMI): Enabled
  • VNET Integration: Enabled
  • Private Endpoint: Enabled
  • Same Subscription: Yes
Storage Account Configuration
  • Storage Account Key Access: Disabled
  • SAS Key Usage: Disabled
  • Private Endpoint: Enabled (Blob + Queue)
  • Public Network Access: Disabled

This setup enforces Microsoft Entra ID (Azure AD) only authentication

Root Cause Analysis

Azure Functions always require access to a storage account for:

  • Host locks
  • Trigger state
  • Scale controller
  • Internal metadata (azure-webjobs-hosts, azure-webjobs-secrets)

In Elastic Premium:

  • Storage account keys cannot be used if disabled
  • Managed Identity must be explicitly configured
  • Networking must allow private traffic via VNET

If any of these are missing, the Functions runtime fails before indexing, causing:

  • Storage connectivity errors
  • Functions not appearing in the portal
Solution
Required IAM Roles on Storage Account (Assigned to UMI)

Assign the following RBAC roles at the storage account level:

  • Storage Blob Data Owner
  • Storage Queue Data Contributor

These roles are required for host operations, queue triggers, and runtime metadata access

Mandatory Application Settings (Environment Variables)

This explicitly tells the Functions runtime to use User Managed Identity instead of keys.

Host Storage (AzureWebJobsStorage) – Managed Identity Based
AzureWebJobsStorage__accountName = <storage-account-name>
AzureWebJobsStorage__credential  = managedidentity
AzureWebJobsStorage__clientId    = <User-Assigned-MI-Client-ID>
AzureWebJobsStorage__blobServiceUri  = https://<storage>.blob.core.windows.net
AzureWebJobsStorage__queueServiceUri = https://<storage>.queue.core.windows.net

Trigger‑Specific Storage (Queue Trigger Example)
QueueConn__queueServiceUri = https://<storage>.queue.core.windows.net
QueueConn__credential     = managedidentity
QueueConn__clientId       = <User-Assigned-MI-Client-ID>

Runtime & Indexing Settings (Critical)
AzureWebJobsFeatureFlags   = EnableWorkerIndexing

Required for Python v2 programming model so the portal can discover functions.


Problem Summary – Azure Function App Not Visible in Overview

Functions Not Visible in Overview

The Logs says “azure function .python_packages missing” (Azure Portal –>Resource Health–>Availability and Performance–>Functions that are not triggering)

ERROR
Error: No module named 'requests', Cannot find module. Please check the requirements.txt file for the missing module. For more info, please refer the troubleshooting guide: https://aka.ms/functions-modulenotfound. Current sys.path: ['/home/site/wwwroot', '/home/site/wwwroot/.python_packages/lib/site-packages', '/azure-functions-host/workers/python/3.12/LINUX/X64', '/opt/python/3/lib/python312.zip', '/opt/python/3/lib/python3.12', '/opt/python/3/lib/python3.12/lib-dynload', '/opt/python/3/lib/python3.12/site-packages'] Traceback (most recent call last): File '/azure-functions-host/workers/python/3.12/LINUX/X64/azure_functions_worker/utils/wrappers.py', line 44, in call return

Solution

The requirements.txt installation failed because two flags were missing. The function’s environment variables lacked SCM_DO_BUILD_DURING_DEPLOYMENT: true. Since the zip upload command sets this to false, the –build-remote flag was required in the az cli command to override it.

Cloud CLI
az functionapp deployment source config-zip \
  --resource-group <ResourceGroupName> \
  --name <FunctionAppName> \
  --src <PathToZipFile> \
  --build-remote
Previous Blogs
  • 2026 Proven Guide: Azure SPN Secret Expiry with Automation & Graph APIhttps://www.makcloudhance.com/2026-proven-guide-spn-secret-expiry-automation/
  • AKS Private Cluster: Create a Private Azure Kubernetes Service (AKS) Cluster – Part 1https://www.makcloudhance.com/configure-aks-private-cluster/
  • Azure AKS Networking Explained: Critical Differences Between Azure CNI Overlay vs Node Subnet vs Pod Subnet – Part 1https://www.makcloudhance.com/azure-cni-overlay-vs-node-subnet-vs-pod-subnet/
References
  • azure function .python_packages missing
  • Function App not showing up on list of functions after deployment from VS Code (V2 Python Programming Model)
  • How to use a secured storage account with Azure Functions
  • Tutorial: Create a function app that connects to Azure services using identities instead of secrets
  • Use managed identity instead of AzureWebJobsStorage to connect a function app to a storage account
Post Tags: #Azure Function App Entra ID authentication#Azure Function App private endpoint issue#Azure Function App RBAC storage permissions#Azure Function App storage access issue#Azure Function App unable to load functions#Azure Function Elastic Premium issues#Azure Function managed identity storage access#Azure Function not connecting to storage account#Azure Function not showing in overview#Azure Function private endpoint storage account#Azure Function storage authentication error#Azure Function VNET integration issue#AzureWebJobsStorage managed identity

Post navigation

Previous Previous
3 Proven Fixes for Azure Web App Container Not Starting & Deployment Slot Routing Errors
NextContinue
Istio in AKS Deployment: Ingress vs Gateway API, Managed vs Azure Self-Managed -Part 1

Download Most Useful Kubectl Commands Cheat Sheet FREE

100+ Kubernetes command examples. Instant access.

    About Me

    About Me

    I’m a cloud technology professional with 20+ years of industry experience, specialising in Azure, AWS, and GCP. Through this blog, I share practical insights, real-world solutions, and best practices from hands-on cloud implementations, automation and troubleshooting.

    Top Categories

    • Azure Compute & Containers
    • Azure Security
    • Cloud Networking
    • Cloud Security
    • Kubernetes
    • Operations
    • Troubleshooting

    azure sas key azure sas vulnerability mitigation azure storage account hardening azure storage sas key block sas tokens in azure cloud security best practices azure prevent shared key access azure shared access key azure

    RSS RSS
    • Privacy Policy
    • About the Author
    • Disclaimer
    • Contact

    © 2026 MAK - All Rights Reserved

    Have a Nice Day Ahead!

    Scroll to top
    • Privacy Policy
    • About the Author
    • Disclaimer
    • Contact