4.3.0
4.3.0
New Features:
- Broker support for Xamarin iOS. MSAL.NET now supports brokered authentication with Xamarin iOS. For details see https:aka.ms/msal-net-brokers, along with code snippets, and more details in the 4.3 release blog post. For help migrating from ADAL.NET using iOS broker to MSAL.NET using iOS broker, see this page on migration.
Bug Fixes:
- MSAL.NET was adding an extra
/to the authority when using.WithAuthority(AzureCloudInstance azureCloudInstance, Guid tenantId). This resulted in an MsalServiceException: "AADSTAT9002: Tenantv2.0not found..." More details here. - Starting in MSAL.NET 4.0, a MsalClientException was thrown instead of a MsalServiceException in exceptions coming from the server. This regression is now fixed.
- MSAL.NET required custom error handling when dealing with a network down error. This was especially problematic on Xamarin iOS and Android. MSAL.NET now provides a consistent approach to HTTP errors. Details here.
- MSAL.NET was not correctly catching a network down exception. MSAL.NET now catches the exception and sets it on the correct TaskCompletionSource object. More information here.