microsoftconnect / Taskr-Sample-Intune-Android-App

Taskr is a simple, open source, Android app designed to let you test out the capabilities of the Microsoft Intune APP SDK.
MIT License
21 stars 18 forks source link

To integrate Intune SDK in android App without MSAL #21

Closed sandeepbhatia4922 closed 2 years ago

sandeepbhatia4922 commented 3 years ago

Hi, I have created a LOB app (android intune SDK integrated) on https://endpoint.microsoft.com & on azure portal. I am able to apply an app protection policy on the app. But every time I have to authenticate users with MSAL.

For this I refered https://github.com/msintuneappsdk/Taskr-Sample-Intune-Android-App.

Is there any way so we can skip MSAL authentication and enroll users for MAM policy??

Also if the same LOB app is to be shipped to google play store, how will we apply policies??

Is there any difference between LOB and store app while both are integrated with android SDK??

bannus commented 3 years ago

For LOB apps that do not want to configure their own MSAL flow, we support default enrollment. However, please note this is only intended to be used for apps that are only used by Intune users. If you'd like to ship your app to the Play Store for a broader audience, you must use MSAL and the MAMEnrollmentManager APIs.

sandeepbhatia4922 commented 2 years ago

thanks @bannus for clarification

sandeepbhatia4922 commented 2 years ago

Hi @bannus I am getting this issue while publishing app to play store

Your app contains a less secure encryption mode. Please see this Google Help Center article for details. com.microsoft.identity.common.adal.internal.cache.StorageHelper->getKeyThumbPrint

I am using MSAL latest version 2.2.1

Unable to release App. Please help