Forum Discussion
sunny2315
Nov 16, 2023Copper Contributor
Get all Machine names list form defender
hello, I was using postman to list all the machine using this endpoint. https://api-us.securitycenter.microsoft.com/api/machines When I issue a get command, I can only see 49 items, when I go to thi...
jbmartin6
Nov 17, 2023Iron Contributor
When I invoke 'https://api-us.securitycenter.microsoft.com/api/machines' via our Powershell cmdlet I get all our ~2500 machines back. To me, this suggests the problem lies in how you are invoking it rather than the API having a built in limit. But, there is a 10k items page limit on the API so if you have more than that you will need some sort of page/limit logic. But if you are only getting 49 something else is going on.