Xamarin Android requirements - Xablu/Xablu.ADAL GitHub Wiki

On Android, the ADAL package requires a small addition to the Activity that is going to show the login. The login view itself is started with StartActivityForResult. To handle the result from the ADAL login page, you will need to override the OnActivityForResult method and pass the result to the Xablu ADAL component to handle:

protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
{
    CrossAdal.Current.OnActivityResult(requestCode, resultCode, data);
}

If this code is omitted, the call to await CrossAdal.Current.EnsureUserLoggedIn() will not return.