Source Template Version: 2.1.07
Target Template Version: 2.1.11
Impacted Detection: "Successful logon from IP and failure from a different IP"
Problem Description
Upgrading the analytics rule template from version 2.1.07 to 2.1.11 introduces critical syntax errors and broken schema pipelines that cause the query to fail compilation in Azure Sentinel / Log Analytics/Defender XDR.
Observed Error Messages
Validation Error: 'summarize' operator: Failed to resolve scalar expression named 'AccountUPN'
Execution Error: An unexpected error occurred during query execution. Please try again in a few minutes.
Semantic Error (Failed to resolve scalar expression 'AccountUPN'):Inside the IdentityInfo subquery block, a project operator was introduced directly after an arg_max aggregation
Steps to Reproduce
Deploy the "Successful logon from IP and failure from a different IP" analytic rule from Content Hub using template version 2.1.11.
Attempt to run the query in the Log Analytics editor.
Observe the query validation failure or the unexpected execution crash message.
Requested Action
Please patch the 2.1.11 template in the Microsoft Sentinel repository to remove the broken project step within the IdentityInfo join, and fix the split() array indexing logic so the rule can execute cleanly without crashing the query engine.
Alternatively, please provide the original 2.1.07 template version of this KQL query so that it can be temporarily redeployed to unblock our detection engineering pipeline while this regression is investigated.
Thank you
Source Template Version: 2.1.07
Target Template Version: 2.1.11
Impacted Detection: "Successful logon from IP and failure from a different IP"
Problem Description
Upgrading the analytics rule template from version 2.1.07 to 2.1.11 introduces critical syntax errors and broken schema pipelines that cause the query to fail compilation in Azure Sentinel / Log Analytics/Defender XDR.
Observed Error Messages
Validation Error: 'summarize' operator: Failed to resolve scalar expression named 'AccountUPN'
Execution Error: An unexpected error occurred during query execution. Please try again in a few minutes.
Semantic Error (Failed to resolve scalar expression 'AccountUPN'):Inside the IdentityInfo subquery block, a project operator was introduced directly after an arg_max aggregation
Steps to Reproduce
Deploy the "Successful logon from IP and failure from a different IP" analytic rule from Content Hub using template version 2.1.11.
Attempt to run the query in the Log Analytics editor.
Observe the query validation failure or the unexpected execution crash message.
Requested Action
Please patch the 2.1.11 template in the Microsoft Sentinel repository to remove the broken project step within the IdentityInfo join, and fix the split() array indexing logic so the rule can execute cleanly without crashing the query engine.
Alternatively, please provide the original 2.1.07 template version of this KQL query so that it can be temporarily redeployed to unblock our detection engineering pipeline while this regression is investigated.
Thank you