Forum Discussion
DPC Extras true/false entries not taken effect
Hi Moombas,
We use the Google Zero-Touch enrollment method (as we don't only own Samsung devices, so we don't want to use Samsung Knox), and I managed to get the "LEAVE_ALL_SYSTEM_APPS_ENABLED" option working (works inside and outside the "ADMIN_EXTRAS_BUNDLE" part, so not sure what the preference would be).
But the "USE_MOBILE_DATA" option does not seem to do anything (always asks for WiFi (with the option to choose for mobile internet) instead of skipping that step and directly use mobile internet), both inside and outside the "ADMIN_EXTRAS_BUNDLE" part (and I also tried both true and false, but no differences whatsoever).
The "USE_MOBILE_DATA" option does seem to have the described behaviour when you add this setting to the QR-code enrollment method (or only wifi, or only mobile internet, not both), but we don't want to use that.
See documentation for described behaviour:
https://developer.android.com/reference/android/app/admin/DevicePolicyManager#EXTRA_PROVISIONING_USE_MOBILE_DATA
And there are more settings which do not seem to do anything, for example:
"android.app.extra.PROVISIONING_DISCLAIMERS"
"android.app.extra.PROVISIONING_DISCLAIMER_HEADER"
"android.app.extra.PROVISIONING_DISCLAIMER_CONTENT"
"android.app.extra.PROVISIONING_SKIP_EDUCATION_SCREENS"
"android.app.extra.PROVISIONING_SKIP_USER_CONSENT" (this one is already deprecated, so sounds logical that this one no longer works, but I do want to mention it)
But maybe I do not use them properly.
That's why I'm trying them inside and outside of the "ADMIN_EXTRAS_BUNDLE" part, and it seems the 3 DISCLAIMER ones need to be used as a bundle (but how).
Like I said we don't want to use Samsung Knox, but it seems within Free part of Samsung Knox there are some settings which make the enrollment procedure to skip some enduser actions, which makes the enrollent procedure a little bit shorter for our endusers.
And to me it looks like the same should be possible via the PDC Extra's in Google Zero-Touch as well (for example: "SKIP_USER_CONSENT" and/or "SKIP_EDUCATION_SCREENS").
(same goes for the extra Agreements option in Knox, it sounds like this is done via the 3 DISCLAIMER extra's)
So perhaps you have some more information for me?
Thanks
George
As i understand, you trry to use "USE_MOBILE_DATA" in the ZTP configuration, right?
Regarding the disclaimers, you should look here (never used them yet):
"android.app.extra.PROVISIONING_SKIP_EDUCATION_SCREENS" worked for me in the past when i tried it out (but is not in use yet). There should be less screens be shown during enrollment than without (but still some are there, i guess depending on the OEM).
- George7 days agoLevel 1.5: Cupcake
Hi Moombas,
Thanks for your quick response.
We are indeed using the Google Zero-Touch provisioning method.
And the information on the DevicePolicyManager page states for that method that if mobile data is connected during the check it won't also ask for a WiFi connection, but it does.
So this does not look like the described behaviour.
(but the users still have the option to skip WiFi settings, which makes it use the mobile data connection, so it isn't a big issue, but if it would work like described it will skip a user step during enrollement, which we prefer)Regarding the disclaimers, I was already using the information on the DevicePolicyManager page (that's where I found those settings in the first place 😉 ).
But wasn't able to make it work yet (and I am not able fo find any (good) examples anywhere).
But I will keep on trying and will let you know how it works (if I will get it to work 😉 ).
It might have something to do with those settings needing to have their own (admin)bundle.That brings me to the question, do you know what the difference is between putting these settings within the "ADMIN_EXTRAS_BUNDLE" or before the "ADMIN_EXTRAS_BUNDLE" (as both seem to work for the settings that work)?
I will also keep on trying to get the other settings to work (and let you know when I do).
But if you have any idea's that might help me and/or push me in the right direction, I'm happy to hear.
Thanks
George
Related Content
- 12 months ago
- 8 months ago