Closed leoslima13 closed 8 months ago
Hi @leoslima13 I'm not seeing any crash in the provided logs.
Can you please provide separate Powerlift logs for scenarios [1] and [2]?
Hey @Archit-Pikle this is not happening on latest version anymore. This ticket can be closed
Intune Android App SDK for .NET MAUI Issue
Summary
There's a couple of scenarios of this odd behavior
1- A new device, the user does not have Company Portal installed In that case, the application will correctly handle the Registration for MAM, during this process the app will receive a notification asking for the user to install the Company Portal app. After that, our application will be restarted, and after the restart, we'll acquire the token from MSAL SDK, but during this process the application is crashing for no reason, BUT if the user opens the application again, the app starts to work normally.
2- A device that already has Company Portal installed (not logged in) In that case it much more worse than the previous one, because when the application starts, an Activity, handled by MS Intune SDK, will be displayed and the one of our policies will be applied (PIN), after the user set the PIN, we'll display our Login Page, so the user should enter his credentials, but before MSAL opens the WebView requesting the credentials, the application crashes immediately and never gets back to work, unless I open the Android Settings, go to the Company Portal App and clean all the storage and caches, then the application will request the credentials and the process will flow normally
3- A device that already has Company Portal Installed (logged in) In that case the application will work correctly with no crashes.
I captured the logs and send it to Microsoft, and the log latest log identifier is S87KKTNR from Company Portal
Details
Microsoft.Intune.Maui.Essentials.android
Version:10.0.0*For runtime issues, please include:
log identifier: S87KKTNR (Company Portal)
MSBuild Logs
Company Portal Logs
S87KKTNR
For guidance, see Report a problem in Company Portal or Intune app for Android
NuGet Dependencies
If your app includes third-party NuGet libraries, please list them here:
Questions to Ask Before Submission
Microsoft.Intune.Maui.Essentials.android
package? YESbin
andobj
output folders? YESMicrosoft.Intune.Maui.Essentials.android
NuGet package version? YES