IAintShootinMis · @iaintshootinmis
512 followers · 369 posts · Server digitaldarkage.cc

I need some help from anyone using or or

In Sentinel, I'm creating the below query, but being told the variable I'm assigning isn't the name of a known function table or variable. I don't need insight on a different way to write the statement, just to understand why it won't work.

`let names = dynamic(["Admin1","Admin2"]);
AuditLogs
|where Principal in (names)`

The same query works in LogAnalytics without issue. I'm losing my mind.

#mssentinel #kql #kustoquerylanguage

Last updated 2 years ago

F0rm4t · @F0rm4t
8 followers · 12 posts · Server infosec.exchange