Forum Xamarin.iOS


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Xamarin.Forms Microsoft Identity AAD login not showing UPN hint with WithLoginHint in iOS

sulayjsulayj Member ✭✭

I am working in Xamarin.Forms app and we have implemented Microsoft Identity AAD login in Xamarin.Forms.

Now we are using WithLoginHint to show the UPN login hint in login page as defined below.

acquireTokenInteractiveParameterBuilder = acquireTokenInteractiveParameterBuilder.WithParentActivityOrWindow(parentUIWindow) .WithLoginHint(UPN);

Above is working fine in Android. It is showing UPN hint while sign in but in iOS it is not showing UPN hint which I am passing to WithLoginHint.

Showing in Android.

Not showing in iOS.

Can anyone please help me and suggest the solution for iOS?


  • NicoleLuNicoleLu Member, Xamarin Team Xamurai

    Hi @sulayj sorry but this is more about AAD, there's not much Xamarin can do.
    To get a more professional support for Microsoft Identity, you can consider asking a question in Microsoft Q&A for Azure Identity, or, if you're using Microsoft.Identity.Client nuget package, you can also file an issue in this github repo.

Sign In or Register to comment.