简体   繁体   English

无论如何在 Android 设备策略中限制设备注册?

[英]Is there anyway to restrict device enrolment in Android device policy?

We are using Android management API for device management in out Enterprise Mobility Management project.我们在企业移动管理项目中使用 Android 管理 API 进行设备管理。 We want to restrict the device count based on the requirement.我们想根据需求限制设备数量。 Once reached the threshold value,We should not allowed to enrol on the enterprise.We can't restrict it in management console.一旦达到阈值,我们就不应该允许在企业上注册。我们不能在管理控制台中限制它。 As we are using Android device policy(Device Policy Controller) provided by google, we couldn't restrict it through mobile.由于我们使用的是 google 提供的 Android 设备策略(设备策略控制器),我们无法通过移动设备对其进行限制。 Is there anyway to control the device count for a particular enterprise?是否有办法控制特定企业的设备数量?

There is no way to do this via policy.没有办法通过策略来做到这一点。 The best way to implement this is through your management console by keeping track of the count of devices using devices.list API and deleting any valid enrollmentTokens once you have reached the limit.实现这一点的最佳方法是通过管理控制台跟踪使用devices.list API的设备数量,并在达到限制后删除任何有效的注册令牌。

You can also use the enterprise SinginDetail to display an error message on the signinUrl page with instructions to contact the IT Administrator once the device limit has been reached.您还可以使用企业SinginDetail在 signinUrl 页面上显示错误消息,并在达到设备限制后联系 IT 管理员的说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM