Check ID:
Provider: Azure
Service:
Severity: MEDIUM
Categories:
Resource type:
app_function_identity_is_configuredProvider: Azure
Service:
appSeverity: MEDIUM
Categories:
identity-accessResource type:
microsoft.web/sitesWhat this check verifies
Azure Function Apps are evaluated for an enabled managed identity (SystemAssigned or UserAssigned) configured on the app.
The finding indicates whether an identity is present to support token-based access to other Azure resources.
Risk
Without managed identities, apps rely on stored secrets/keys, risking:- Confidentiality loss from leaked credentials
- Integrity tampering via unauthorized writes
- Availability outages from secret expiry/rotation
Recommendation
Enable a managed identity on each Function App (SystemAssigned per app, UserAssigned for shared/long-lived needs). Replace secrets with token-based access and grant only required RBAC roles (least privilege). Remove keys from settings, apply separation of duties, and monitor access as part of defense in depth.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
az functionapp identity assign —resource-group <resource_group> —name <function_name>
References
- https://www.trendmicro.com/cloudoneconformity/knowledge-base/azure/Functions/azure-function-system-assigned-identity.html
- https://learn.microsoft.com/en-us/azure/app-service/overview-managed-identity
- https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview
Where this check fires
This check runs on every scheduled scan against your Azure account. Findings appear at Cloud Security → Findings filterable byCheck ID = app_function_identity_is_configured. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Azure checks