Using MSAL.NET With MAUI and Xamarin
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 and Xamarin 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 and Xamarin iOS
To get started with MSAL.NET integration on iOS, refer to the following resources:
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應