Skip to main content
weberda
Level 2.0: Eclair
May 29, 2026
Question

ADB sideloads into work profile for debugging purposes

  • May 29, 2026
  • 2 replies
  • 9 views

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

2 replies

Moombas
Level 4.4: KitKat
May 29, 2026

Maybe weird question but why not just deploying the apps by app policy to the test devices? Then you don’t need to sideload them or similar.

weberda
weberdaAuthor
Level 2.0: Eclair
May 29, 2026

Hi ​@Moombas 

can you explain what you mean with “by app policy”?

we are looking into a way to have adb install during development, so the debugging tools from Android Studio can be used to look into the app process and everything. It’s not just about to have a new app installed on a couple of devices.

Moombas
Level 4.4: KitKat
May 29, 2026

Ok, i was focused on the app deployment, if there seem even more, i guess what ​@Alex_Muc is mentioning here would also be my way to go as i understood you already enabled adb debugging with enabling debug mode (you mentioned above) and allowing the prompt when you connect it via usb, i don’t see any other obstacle here yet.

Alex_Muc
Level 3.0: Honeycomb
May 29, 2026

Have you tried creating an "Android Enterprise system app" in Intune with the package name (com.company.staff.android.debug) and assigning it to the device?
Based on the logs, the chances of success are pretty low, but whitelisting the app would at least be my first attempt.