From the (locked) article https://thwack.solarwinds.com/t5/NPM-Documents/All-Unmanaged-Nodes-Web-xml/ta-p/528321 @rfackrell posted a SQL query that was wasn't working on other installations. After digging through, I found the table names might vary. For my installation, I need to change
line 59 to "FROM dbo.Nodes n WITH(NOLOCK)" and
line 64 to "FROM dbo.AuditingEvents WITH(NOLOCK)" and
line 67 to "LEFT JOIN dbo.AuditingEvents r1 WITH(NOLOCK) ON (r1.TimeLoggedUtc = MaxDates.max_datetime AND r1.NetObjectID = MaxDates.NetObjectID AND r1.ActionTypeID = '27')" No quotes.
And now it works for me...
Frank
All props to rfackrell