Create a new MultipleAccountPublicClientApplication instance.You can also check out the quickstart for examples of how this is used. If you would like to use SingleAccount mode, refer to the single vs. NOTE: In this example we are creating an instance of MultipleAccountPublicClientApplication, which is designed to work with apps that allow multiple accounts to be used within the same application. Step 4: Create an MSAL PublicClientApplication NOTE: Please refer to this FAQ for more information on common redirect uri issues.
For Azure AD B2C, checkout how to register your app with B2C. To register your app, use the Azure portal. Before you can get a token from Azure AD v2.0 or Azure AD B2C, you'll need to register an application.Run the quickstart to see how our Java sample works, or checkout this list of all MSAL sample repos.
See the ADAL to MSAL migration guide for Android Sample
Android changes for SDK30, see the android developers notice.In the meantime, please do not use the mentioned library versions, and strongly consider moving to 2.0.8.This will be fixed in an upcoming release, tentatively scheduled for next week. If you're interested please please contact Silent requests were inadvertently serialized in MSAL v2.0.10-v2.0.12, Common v3.2.0-v3.4.3. Looking for developers interested in providing early feedback on a x-platform implementation of MSAL written in C++ and Java, callable from Java, Kotlin and C++. The MSAL library for Android gives your app the ability to use the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft accounts in a converged experience using industry standard OAuth2 and OpenID Connect. Microsoft Authentication Library (MSAL) for Android Getting Started