we are writing a chrome extension that uses the enterprise apis namely the following calls:
let hardwareInfo =
await chrome.enterprise.hardwarePlatform.getHardwarePlatformInfo();
payload["manufacturer"] = hardwareInfo.manufacturer ?? null;
payload["model"] = hardwareInfo.model ?? null;
let serialNoInfo =
await chrome.enterprise.deviceAttributes.getDeviceSerialNumber();
payload["serial_no"] = serialNoInfo.serialNumber ?? null;
It IS working for the following calls for network details:
chrome.enterprise.networkingAttributes.getNetworkDetails((info) => {
payload["mac_address"] = info.macAddress ?? null;
We are finding that when deployed in a enterprise we are still getting "not allowed" errors in the console when trying to call those APIs.
We are unable to get this data back for some reason and not sure where to go from here. We are told the policies are set up correctly from Google Support on the enterprise side of things when deploying.
We were able to get manufacturer and model when working locally on our macbook.
Anyone see this or can offer some help, we are failing to see how this isn't the policies and how they are set up in the enterprise?