Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting device list using Microsoft Graph API

I'm trying to get a list of devices associated with my Microsoft account. When somebody uses his Microsoft account for logging in into his Windows account, he can see that in https://account.microsoft.com/devices/ appears a new device, from which he has logged in. So, I'd like to get this list using API. I've tried to send GET request to https://graph.microsoft.com/v1.0/devices as the Documentation says using my access token, but an empty list is returned although in https://account.microsoft.com/devices/ there are registered devices. What's the problem?

like image 865
asukaev Avatar asked Mar 01 '26 03:03

asukaev


1 Answers

The /devices endpoint hasn't been released so it isn't available under /v1.0. It is only available under /beta.

You can find details on how to use /devices in the Beta documentation.

like image 168
Marc LaFleur Avatar answered Mar 04 '26 14:03

Marc LaFleur



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!