I'm developing an extension and I'm trying to use the enterprise.deviceAttributes API, but "This API is only for extensions pre-installed by policy."
. How can I simulate a pre-installed by policy extension in sandbox so I can develop it?
Also, I noticed that this API is not "dev channel only" anymore, so now I can use it in production?
Question about Google Admin:
I will require the users to install my extension to their "children"* via Google Admin > Chrome Management > User Settings
, so the user won't need to enroll devices, and the extension will be "installed by policy".
In this case, which devices aren't enrolled, can I still get the deviceID of the "children" with my extension and then call the Admin API to get device info?
*Children is an example, could be students, employees....