-
Notifications
You must be signed in to change notification settings - Fork 343
Known issues
MSAL throws a few types of exceptions, please see here.
Please read the guide on High Availability
System.Security.Cryptography.CryptographicException: A device attached to the system is not functioning.
When running in a tight loop, the crypto sometimes API throws the exception above. We have experienced this on .NET classic version 4.6 and lower. .NET classic 4.6.1 and above, as well as .net core seems to have these APIs fixed.
The issue is mostly seen in Client Credential flow. Mitigation is to upgrade the framework or to break the tight loop.
On Android, an AndroidActivityNotFound
exception is thrown when the device does not have a browser with tabs
https://docs.microsoft.com/en-gb/azure/active-directory/develop/msal-net-system-browser-android-considerations#known-issues
Most issues on UWP occur due to network problems, such as proxies that block the traffic etc. Integrated Windows Auth may also be blocked by admins. For more details see:
On Desktop app, an StateMismatchError
exception is thrown when the using a long Facebook ID.
https://docs.microsoft.com/en-gb/azure/active-directory/develop/msal-net-system-browser-android-considerations#known-issues. For more details, please refer: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki/StateMismatchError
- 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