Search code examples
iosswiftazure-active-directoryadalazure-ad-msal

Which one to choose for Azure AD integration in iOS app?


Which library do we have to use for integrating Azure AD in an iOS app - ADAL/MSAL ? Is MSAL an advanced version of ADAL with support for personal accounts also? Which one supports SAML 2.0 protocol ?


Solution

  • MSAL works with the AzureAD V2 endpoint, whereas ADAL works with the AzureAD V1 endpoint. You can find the difference here. Yes, MSAL allows personal accounts to sign in.

    If you're migrating or updating an application that relies on SAML, you can't use Microsoft identity platform(MSAL). Instead, refer to the Azure AD v1.0 guide.