ADB sideloads into work profile for debugging purposes
Hi everyone
I am struggling to create an AE policy for COPE devices (in our case Samsung) to allow developers to sideload apps into the work profile for testing and debugging purposes.
We are using Intune and the only policy (beside enable Development mode) which should affect this behavior is enabled:

Is there anyone else who tried this already?
In our scenario the app is installed via adb install into the personal and work profile. After a few seconds DPC is removing the app from the work profile…
03-17 09:56:09.195 1010307 4220 32308 I clouddpc: [PackageChangeHandlerImpl.kt:handlePackageInstalled:349] CloudDPC didn't request play to install the package com.company.staff.android.debug, and it wasn't sideloaded by CloudDPC.
03-17 09:56:09.195 1010307 4220 32308 I clouddpc: [PackageChangeHandlerImpl.kt:resetReapplySchedule:457] About to schedule policy re-apply for : [blockApplicationsEnabled, playStoreMode, crossProfilePolicies, applications]
03-17 09:56:09.196 10316 6724 6724 I BudsControllerService@9236cb8: onReceive() : android.intent.action.PACKAGE_REMOVED
03-17 09:56:09.196 10316 6724 6724 I BudsControllerService@9236cb8: onPackageChanged()
03-17 09:56:09.196 10316 6724 6724 I Notification4Heart_AM: NotificationPackageReceiver.onReceive-action: android.intent.action.PACKAGE_ADDED, userId: 10, packageName: com.company.staff.android.debug
Thank you
Br,
Daniel
