Using Azure Resource Graph Queries and a kusto query, trying to get resources.name of the advisorresources properties field in json of resourceMetadata.resourceId, joined on the resource id.
Kusto Query
advisorresources
| extend jProp = parse_json(properties)
| extend iResourceId = tostring(jProp.resourceMetadata.resourceId)
| join kind=inner (resources | project id, rname=name) on iResourceId
| project rname
Error Message
the right side of the join
doesn't include a column named iResourceId
- it only includes the columns id
and rname
:
resources | project id, rname=name
try replacing the above with:
resources | project iResourceId=id, rname=name