active-directory-xamarin-native-v2
                                
                                 active-directory-xamarin-native-v2 copied to clipboard
                                
                                    active-directory-xamarin-native-v2 copied to clipboard
                            
                            
                            
                        Sample code is not working for Xamarin Forms android broker authentication
Which version of MSAL.NET are you using? MSAL.NET 4.56.0
Platform Xamarin Forms android project
What authentication flow has the issue? With Broker
Repro Download the sample project, launch the [2-With-broker] project , try to login with broker, if an Android device has the Authenticator or Intune Company Portal app installed, the authentication process should go through Authenticator. However, I've observed an issue where, after logging in, the app attempts to launch Authenticator, but the Authenticator briefly appears and then disappears, continuously flickering without allowing the user to return to the app. The only solution seems to be forcibly closing the app.
Expected behavior Authenticator appears, select account login, redirect back to app and user will be authenticated.
Actual behavior Authenticator briefly appears and then disappears, continuously flickering without allowing the user to return to the app. The only solution seems to be forcibly closing the app.
Possible solution None
Extra info Tested in Android version 12 Android version 13