Forum Discussion
Elijah
21 days agoLevel 2.0: Eclair
Problem Joining Work Profile From Android Device
I created an enrollment token for an enterprise for work profile, and I ensured that setAllowPersonalUsage("PERSONAL_USAGE_ALLOWED"); was set for the token. How ever when I try to join from my ...
Elijah
20 days agoLevel 2.0: Eclair
yes, my token expiry is about 24hrs...
here is the token create payload function:
private static String getQrCodeStringWorkProfile(String enterpriseName, String policyName) throws GeneralSecurityException, IOException {
EnrollmentToken token =
new EnrollmentToken().setPolicyName(policyName).setDuration("86400s").setAllowPersonalUsage("PERSONAL_USAGE_ALLOWED");
return getAndroidManagementClient()
.enterprises()
.enrollmentTokens()
.create(enterpriseName, token)
.execute().getQrCode();
}
jasonbayton
19 days agoLevel 4.0: Ice Cream Sandwich
That also doesn't show anything obviously wrong. As you're doing a work profile, can you spin up a new token, test on problem devices, and capture a bug report immediately after failure?
- Elijah19 days agoLevel 2.0: Eclair
Hi Jason, here is the bug report(both full and interactive after trying to setup a work profile:Bug Report
- jasonbayton16 days agoLevel 4.0: Ice Cream Sandwich
Appreciate the report, I'm afraid there's nothing particularly telling there, either.
Could you message me a QR code to test myself?
Related Content
- 2 years ago
- 2 years ago