Forum Discussion
Intune Android Enterprise - Enable Samsung System Apps
I added the line:
"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED": true
to the end of the text and converted it back to a QR Code. When I try to scan the code to enrol a Samsung mobile I see the following message:
Cannot create work profile
The security policy prevents the creation of a managed device because a custom OS is or has been installed on this device.
Would anyone have any thoughts? We have blocked "Rooted devices" on our Android Device Policy.
Jim Rorrisonsorry for the late response!
This problem sounds unrelated to the customized QR code; does the enrollment work properly with the default QR code?
- Jim RorrisonAug 20, 2019Copper Contributor
Joni_Nieminen Hi Joni,
My fault, got the syntax wrong when adding the line to the QR Code. I have corrected and tested on a Samsung Galaxy a20. Seemed to work fine and left behind required apps such as Text Messaging and Camera. A couple of pre-installed Samsung apps (Netflix) also got through but not many.
Our normal enrolement QR Code works fine with other brands - tested on Nokia and Huawei.
Great solution, saves going down the Samsung Knox route.
- LewisTaylorAug 29, 2019Copper ContributorHi, How did you get this working? I cant seem to locate anywhere within Intune to amend the enrolment QR code? I require some system apps that have been removed at enrollment so looking to apply the "android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":true line to the QR code, but I have no idea how to do this - your help or anyones help would be greatly appreciated!
- Jim RorrisonAug 29, 2019Copper Contributor
The original code generated ends with }}. I put the line ,"android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED": true - in between the two }}. Needs the comma at the start straight after the first of the two}.
Hope this helps, seems to leave Camera and Text apps plus some others which do not work anyway (such as Netflix).
- Joni_NieminenAug 21, 2019Copper ContributorI'm glad you got it solved!