-
Notifications
You must be signed in to change notification settings - Fork 343
Troubleshooting Xamarin.Android issues with MSAL
Jean-Marc Prieur edited this page Jan 25, 2019
·
15 revisions
If you create a new Xamarin.Forms application and add a reference to the MSAL.Net NuGet package, this will just work. However, if you want to ugrade an existing Xamarin.Forms application to MSAL.NET preview 1.1.2 or later you might experience build issues.
To troubleshoot these issues you should:
- Update the existing MSAL.NET NuGet package to MSAL.NET preview 1.1.2 or later
- Check that Xamarin.Forms automatically updated to version 2.5.0.122203 (if not, update to this version)
- Check that Xamarin.Android.Support.v4 automatically updated to version 25.4.0.2 (if not, update to this version)
- All the Xamarin.Android.Support packages should be targetting version 25.4.0.2
- Clean/Rebuild
- Try setting the max parallel project builds to 1 in Visual Studio (Options->Projects and Solutions->Build and Run-> Maximum number of parallel projects builds)
- Alternativly, if you are building from the command line, try removing /m from your command if you are using it.
- Home
- Why use MSAL.NET
- Is MSAL.NET right for me
- Scenarios
- Register your app with AAD
- Client applications
- Acquiring tokens
- MSAL samples
- Known Issues
- AcquireTokenInteractive
- WAM - the Windows broker
- .NET Core
- Maui Docs
- Custom Browser
- Applying an AAD B2C policy
- Integrated Windows Authentication for domain or AAD joined machines
- Username / Password
- Device Code Flow for devices without a Web browser
- ADFS support
- Acquiring a token for the app
- Acquiring a token on behalf of a user in Web APIs
- Acquiring a token by authorization code in Web Apps
- High Availability
- Token cache serialization
- Logging
- Exceptions in MSAL
- Provide your own Httpclient and proxy
- Extensibility Points
- Clearing the cache
- Client Credentials Multi-Tenant guidance
- Performance perspectives
- Differences between ADAL.NET and MSAL.NET Apps
- PowerShell support
- Testing apps that use MSAL
- Experimental Features
- Proof of Possession (PoP) tokens
- Using in Azure functions
- Extract info from WWW-Authenticate headers
- SPA Authorization Code