Closed jhaar closed 1 year ago
This is working as intended. The mobile API only returns mobile devices and excludes company -owned devices. This is the legacy API and is not recommended:
https://developers.google.com/admin-sdk/directory/reference/rest/v1/mobiledevices/list
The recommendation is to use
gam print devices
Which calls cloud Identity devices API:
https://cloud.google.com/identity/docs/reference/rest/v1/devices/list
ohhhh! Thanks for letting me know :-)
The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:
Full steps to reproduce the issue:
Expected outcome (what are you trying to do?):
When I use the Google web console to lookup "Devices -> Mobile & endpoints" I can see all our company Android, iOS, Windows, Mac and Linux systems (the latter three install Google "endpoint verification" extension in Chrome which feeds their device data into Google Workspaces)
Actual outcome (what errors or bad behavior do you see instead?):
"gam" only shows Android and iOS.
It's arguable that these "endpoint" devices aren't in scope - but Google seems to be calling "Mobile" now "Mobile and endpoints" - which does imply they should be covered?