Application Insights components should block non-Entra ingestion
Facts read 10 Nov 2026. Page reviewed 16 Nov 2026.
Application Insights components should block non-Entra ingestion is an Azure guardrail written in Azure Policy. Denies Application Insights components that accept log ingestion without Microsoft Entra authentication. What it breaks: existing components that accept unauthenticated ingestion are marked non-compliant but not changed.
More logging and monitoring guardrails ยท About Azure Policy
Built-in policy definition: Application Insights components should block non-Azure Active Directory based ingestion.
Definition ID: 199d5677-e4d9-4264-9465-efe1839c06bd
Category: Monitoring
Supported effects: Deny, Audit, Disabled
policyRule (copied from the repository file):
{
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Insights/components"
},
{
"field": "Microsoft.Insights/components/DisableLocalAuth",
"notEquals": "true"
}
]
},
"then": {
"effect": "[parameters('effect')]"
}
}
- Blocks
- Denies Application Insights components that accept log ingestion without Microsoft Entra authentication.
- Breaks
- Existing components that accept unauthenticated ingestion are marked non-compliant but not changed. (source)
- Test before applying
- As for every Azure Policy guardrail: how to test before enforcing
- Mechanism
- Azure Policy (built-in definitions): Resources at the scope of the assignment (management group, subscription, resource group) and their children, except notScopes and exemptions
- Taken from
- open source set, MIT License, Azure/azure-policy repository, https://raw.githubusercontent.com/Azure/azure-policy/master/LICENSE
What the source says
"Enforcing log ingestion to require Azure Active Directory authentication prevents unauthenticated logs from an attacker which could lead to incorrect status, false alerts, and incorrect logs stored in the system." (read 10 Nov 2026).
What it breaks is documented for every guardrail of this mechanism: see Azure Policy.
Related guardrails
- Deny enabling and disabling AWS ConfigAWS, Service control policies (SCPs), logging and monitoring
- Deny modifications to specific CloudTrail trailsAWS, Service control policies (SCPs), logging and monitoring
- Deny disabling or modifying Amazon GuardDutyAWS, Service control policies (SCPs), logging and monitoring
- Deploy diagnostic settings for Key Vault to Event HubAzure, Azure Policy (built-in definitions), logging and monitoring
Related pages
Sources
- Application Insights components should block non-Entra ingestion, read 10 Nov 2026
- What it breaks, read 10 Nov 2026
- How to test it first, read 10 Nov 2026
Last reviewed 16 Nov 2026.