Share via

API returns unknown VM's not set up by user

BenediktSnow 21 Reputation points
2022-02-24T10:48:30.6+00:00

Using the endpoints

/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines?
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ClassicCompute/virtualMachines?

sometimes there are included unknown VMs in the response, not set up by the user. They all have machine names consisting of 32 characters of a blend of lower case letters and numbers.

Any help on where these are coming from and how to filter these out is appreciated!

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.