# fix the labels in the graph
MATCH (n) WHERE n.azname IS NOT NULL AND n.azname <> "" AND n.name IS NULL SET n.name = n.azname
# all users with the global administrator role
MATCH p =(n)-[r:AZGlobalAdmin*1..]->(m) RETURN p
# all paths to the azure key vault
MATCH p = (n)-[r]->(g:AZKeyVault) RETURN p
# owners of azure applications
MATCH p = (n)-[r:AZOwns]->(g:AZApp) RETURN p