Play EMM API: Devices.get / Devices.list unavailable for extended duration
Issue Description : After device enrollment, Devices.get() and Devices.list() intermittently return “No Device was found”/an empty list for the same device for an extended duration greater than 15 mins.
This behavior persists beyond the propagation delay described in the documentation, which is 2 mins.
Impact: App Distribution affected
Our EMM supports incremental app distribution:
- Fetch current device policy
- Merge additional apps
- Re-apply policy using Devices.update()
When devices.get() / devices.list() are unavailable:
- We cannot retrieve the current device policy --> Incremental app distribution fails
Detailed Reproduction Steps:
- Enroll device (afw#DPC_IDENTIFIER managed accounts method)
- Call Devices.update() to distribute apps that were pre-configured for installation during the enrollment process. Call succeeds
- Custom DPC adds managed Google Play account on Device
- Call Devices.List(enterpriseId, userId) → Returns empty for 15+ mins
- Call Devices.get(enterpriseId, userId, deviceId) → Returns 404 "No device was found" during this time
Queries:
- What is the expected propagation delay for custom DPCs?
- How long should we poll and check if the deviceId is listed in devices.list()?
- Any workflow changes needed from our side?
- How do other EMMs handle incremental app distribution?