Retrieving Hybrid Machines (Azure Arc) with Service Graph Connector for Microsoft Azure

Miguel24
Tera Contributor

Hello All,

 

We’re testing the Service Graph Connector for Microsoft Azure as a source to populate servers in our CMDB. Standard virtual machines are coming in as expected.

 

However, we’re running into an issue capturing hybrid machines that were onboarded to Azure via Azure Arc.

I see that the SG-Azure Virtual Machine pattern uses the query parameter:

 

"query": "Resources | where type =~ 'Microsoft.Compute/virtualMachines'"

 

When I test outside the connector with a different resource type, I can retrieve the desired hybrid machines.

Has anyone successfully retrieved other machine types (e.g., Azure Arc hybrid machines) from Azure using the Service Graph Connector, or another method? Any tips or examples would be appreciated!

 

Thanks!

 

1 REPLY 1

donhall
Tera Contributor

I am facing the same issue. Did you find a solution? I did find another post that mentioned extending the cloud discovery pattern, but I haven't tried it. I'll link it below

 

https://www.servicenow.com/community/itom-forum/azure-arc-vms-discovery/td-p/3350901/page/2