You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn about specific considerations when using Xamarin Android with the Microsoft Authentication Library for .NET (MSAL.NET).
5
5
services: active-directory
6
-
author: TylerMSFT
6
+
author: jmprieur
7
7
manager: CelesteDG
8
8
9
9
ms.service: active-directory
@@ -80,6 +80,23 @@ The `AndroidManifest.xml` should contain the following values:
80
80
</activity>
81
81
```
82
82
83
+
Or, youcan [createtheactivityincode](https://docs.microsoft.com/xamarin/android/platform/android-manifest#the-basics) and not manually edit `AndroidManifest.xml`. For that, you must create a class that has the `Activity` and `IntentFilter` attribute. A class that represents the same values of the above xml would be:
BydefaultMSAL.NETusesthesystemwebbrowser, whichenablesyoutogetSSOwithWebapplicationsandotherapps. Insomerarecases, youmightwanttospecifythatyouwanttousetheembeddedwebview. Formoreinformation, see [MSAL.NETusesaWebbrowser](msal-net-web-browsers.md) and [Androidsystembrowser](msal-net-system-browser-android-considerations.md).
@@ -124,4 +141,4 @@ More details and samples are provided in the [Android Specific Considerations](h
124
141
125
142
|Sample|Platform|Description|
126
143
|------|--------|-----------|
127
-
|[https://github.com/Azure-Samples/active-directory-xamarin-native-v2](https://github.com/azure-samples/active-directory-xamarin-native-v2)| Xamarin iOS, Android, UWP | A simple Xamarin Forms app showcasing how to use MSAL to authenticate MSA and Azure AD via the AADD v2.0 endpoint, and access the Microsoft Graph with the resulting token. <br>|
144
+
|[https://github.com/Azure-Samples/active-directory-xamarin-native-v2](https://github.com/azure-samples/active-directory-xamarin-native-v2) | Xamarin iOS, Android, UWP | A simple Xamarin Forms app showcasing how to use MSAL to authenticate MSA and Azure AD via the AADD v2.0 endpoint, and access the Microsoft Graph with the resulting token. <br> |
0 commit comments