Using MSAL.NET With MAUI
MSAL.NET can run on mobile devices (both iOS and Android) through applications built with .NET Multi-platform App UI (MAUI).
Note
The .NET team recommends migrating existing Xamarin applications to MAUI. New applications should always use MAUI. MSAL.NET versions 4.61.0 and above do not provide support for Xamarin Android and Xamarin iOS.
Using MSAL.NET with brokers on mobile devices
MSAL.NET can be used with authentication brokers on mobile devices, such as Microsoft Authenticator or the Company Portal. To learn more about how to configure applications to use brokers on iOS and Android, refer to Use Microsoft Authenticator or Intune Company Portal on Xamarin applications.
MAUI on Android
To get started with MSAL.NET integration on Android, refer to the following resources:
- How to migrate Xamarin ADAL apps to MSAL for Android
- Xamarin Android Configuration Tips + Troubleshooting
- Xamarin Android System Browser Info
To learn more about testing MSAL on Android devices, refer to the MSAL for Android Wiki.
MAUI on iOS
To get started with MSAL.NET integration on iOS, refer to the following resources: