Local APK from iunknown source (as test) gets uninstalled automatically by intune

DirkK-8227 0 Reputation points


We have setup intune with fully managed devices and created our own playstore with approved and assigned applications. As test we want to install an APK to a device and see if the applications works. For this to even work I had to copy the previous configuration policy to allow installation from unknown sources.

The app is installed, but very shorly after removed. I believe this is because the app is not in our app list and thus not assigned to any group. Is there a way for this test to exception this, so it will not be removed without changes the Allow access to all apps in Google Play store to allow?

The problem is the APK isn't yet released in google play, so we cannot offically add it.. Plus because we didn't create the APK we can also not import and upload the APK into intune and deploy it like the other apps.. You need to be the owner and even need special licenses and so on.

Unfortunately the Allow installation from unknown sources setting is not enough here.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,559 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,366 Reputation points

    @DirkK-8227 Thanks for posting in our Q&A.

    For this issue, did you deploy this apk via line-of-business app? Based on my understanding, if you set "Allow access to all apps in Google Play store" to "Not configured", apps that were installed outside of Managed Google Play store will be uninstalled automatically. So, it is suggested to try to set "Allow access to all apps in Google Play store" to "allow".

    If there is anything update, feel free to let us know.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.