Forum Discussion
Device Owner Provisioning
- 2 years ago
Not as far as i know of as the enrollment token/id/url or whatever the MDM expects is pointing to the relvant enrollment rule to be used (because in each MDM you can have several).
Otherwise the MDM doesn't know how to proceed forward with the device (which settings to deploy, is it COPE, fully managed or just BYOD, and so on).
Not as far as i know of as the enrollment token/id/url or whatever the MDM expects is pointing to the relvant enrollment rule to be used (because in each MDM you can have several).
Otherwise the MDM doesn't know how to proceed forward with the device (which settings to deploy, is it COPE, fully managed or just BYOD, and so on).
HI,
To create an Enrollment token using Android Management Api, I am following this method
EnrollmentToken enrollment_token = androidManagement.enterprises().enrollmentTokens().create(enterpriseID, token).execute();
In the above snippet the enterpriseID which I am using is the organization ID which I get in google console, and using it in this format
String enterpriseID =enterprises/{DUOsdy871}
.
but with this I am getting the following error
{
"error": {
"code": 401,
"message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.",
"status": "UNAUTHENTICATED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "CREDENTIALS_MISSING",
"domain": "googleapis.com",
"metadata": {
"method": "google.android.devicemanagement.v1.DeviceManagementService.ListEnterprises",
"service": "androidmanagement.googleapis.com"
}
}
]
}
}
what OAuth access Token it is expecting.
In Google cloud console I have created an OAuth credentials and downloaded one Json file. How to use it. what login it is expecting. Where am I going wrong? Please guide me.
- sravanthi2 years agoLevel 2.0: Eclair
could you please suggest me one online QR generator tool?
- Moombas2 years agoLevel 4.1: Jelly Bean
If you mean one in general i prefer this: https://barcode.tec-it.com/en
If you mean an enrollment QR-Code generator I use only my own written one.
Related Content
- 2 years ago
- 12 months ago
- 2 months ago
- 9 months ago