Skip to content

match-graph doesn't work any more #9

@mhobbelen

Description

@mhobbelen

| graph-match
(Account)-[HasPathTo*3 .. 9]->(Administrator)
where HasPathTo.EdgeType in ("HasSession", "HadSession", "AdminTo") and Administrator.AccountName =~ "Administrator" and Account.ObjectType == "Identity" and Account.Source != Administrator.Source and HasPathTo.Source != HasPathTo.Destination
project User = Account.AccountName, Path = HasPathTo.EdgeDisplayName, PathEdges=HasPathTo.EdgeType, DomaindAdmin = Administrator.AccountName
| extend PathLength = array_length(Path)

this where clause is failing:
graph-match operator: variable edge 'HasPathTo', referenced in graph where clause, should be accessed using 'map', 'all' and 'any' graph functions (see https://aka.ms/deprecation-of-variable-length-edge-dot-notation)

can you update your code example on the blog site?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions