Explore the Admin SDK for Bring Your Own Devices (BYOD) actions. Actions:
- Approve
- Block
- List
- Wiped Devices
Google Apps Script will be used to program the code.
-
Google Admin SDK - Directory API: The official documentation is available under developers.google.com. I am using Google Admin SDK directory APIs for this purpose.
-
Method: mobiledevices.list: Method to use =>method mobiledevices.list for this purpose.
-
Mobile device research fields: Search fields that can be employed with these functions are documented here.
-
Google API Explorer: Use Google API Explorer to test the APIs that I am using.
Note: When I am uploading the code on Github then *.gs files are added as *.js.
This Program list all of the pending devices that are not approved at present. These devices can also be checked via the the google admin console.
This Program list all of the blocked devices that are not approved at present. These devices can also be checked via the the google admin console.
This Program list all of the approved devices that are not approved at present. These devices can also be checked via the the google admin console.
This Program list all of all wiped devices that are not approved at present. These devices can also be checked via the the google admin console.