Microsoft Entra certificate-based authentication on Android devices - Microsoft Entra ID (2024)

  • Article

Microsoft Entra Certificate-based authentication is supported with certificates provisioned on the device as well as with external security keys like YubiKeys.

Prerequisites

  • Android version must be Android 5.0 (Lollipop) or later.
  • Microsoft first-party apps with latest MSAL libraries or Microsoft Authenticator can do CBA.
  • Third party applications using latest MSAL libraries or integrated with Microsoft Authenticator can do CBA.

CBA with on-device certificates

Customers can use their choice of Mobile Device Management (MDM) to provision the certificates on the device. End users must first register their devices with MDM and get the certificate provisioned on the device. Once the certificate is provisioned on the device, users can authenticate using CBA.

Steps to test YubiKey on Microsoft apps on Android:

  1. Open Outlook.
  2. Select Add account and enter your user principal name (UPN).
  3. Click Continue.
  4. Select Use Certificate or smart card.
  5. Select Certificate on the device in the dialog**.**
  6. The certificate picker will appear.
  7. Select the certificate associated with the user’s account. Click Continue.
  8. User will be allowed to access the Outlook resource if the authentication is successful.

CBA with certificates on hardware security key

Certificates can be provisioned in external devices like hardware security keys along with a PIN to protect private key access. Microsoft Entra ID supports CBA with YubiKey.

Advantages of certificates on hardware security key

Security keys with certificates:

  • Have the roaming nature of a security key, which allows users to use the same certificate on different devices.
  • Are hardware-secured with a PIN, which makes them phishing-resistant.
  • Provide multifactor authentication with a PIN as second factor to access the private key of the certificate.
  • Satisfy the industry requirement to have MFA on separate device.
  • Help in future proofing where multiple credentials can be stored including Fast Identity Online 2 (FIDO2) keys.

Microsoft Entra CBA on Android mobile with YubiKey

Android needs a middleware application to be able to support smartcard or security keys with certificates. To support YubiKeys with Microsoft Entra CBA, YubiKey Android SDK has been integrated into the Microsoft broker code which can be leveraged through the latest Microsoft Authentication Library (MSAL).

Because Microsoft Entra CBA with YubiKey on Android mobile is enabled by using the latest MSAL, YubiKey Authenticator app isn't required for Android support.

Steps to test YubiKey on Microsoft apps on Android:

  1. Install Microsoft Authenticator.
  2. If your YubiKey has USB-C, open Outlook and plug in your YubiKey.
  3. Select Add account and enter your user principal name (UPN).
  4. Click Continue, and when asked for permission to access your YubiKey, click OK.
  5. Select Use Certificate or smart card.
  6. If you're using an NFC-enabled Yubikey, hold the Yubikey to the back of the device.
  7. A custom certificate picker appears.
  8. Select the certificate associated with the user’s account, and click Continue.
  9. Enter the PIN to access YubiKey and select Unlock.
  10. If you're using a Yubikey with NFC, hold the Yubikey to the back of the phone again to validate the PIN.
  11. After authentication succeeds, you can access Outlook.

Note

For a smooth CBA flow, plug in YubiKey as soon as the application is opened and accept the consent dialog from YubiKey before selecting the link Use Certificate or smart card. If you want to experience only a single connection, consider having users plug in the YubiKey by using USB instead of NFC, which only needs to be done once at the beginning of login.

Support for Exchange ActiveSync clients

Certain Exchange ActiveSync applications on Android 5.0 (Lollipop) or later are supported. To determine if your email application supports Microsoft Entra CBA, contact your application developer.

Supported Microsoft Entra use cases

Microsoft mobile application support

ApplicationsSupport
Azure Information Protection app
Company Portal
Microsoft Teams
Office (mobile)
OneNote
OneDrive
Outlook
Power BI
Skype for Business
Word / Excel / PowerPoint
Yammer
Edge browser with profile login
Managed Home Screen

Browsers

Operating systemChrome certificate on-deviceChrome smart card/security keySafari certificate on-deviceSafari smart card/security keyEdge certificate on-deviceEdge smart card/security key
AndroidN/AN/A

Note

Although Edge as a browser isn't supported, Edge as a profile (for account login) is an MSAL app that supports CBA on Android.

Operating systems

Operating systemCertificate on-device/Derived PIVSmart cards/Security keys
AndroidSupported vendors only

Security key providers

ProviderAndroid
YubiKey

Troubleshoot certificates on hardware security key

What will happen if the user has certificates both on the Android device and YubiKey?

  • If the user has certificates both on the android device and YubiKey, then if the YubiKey is plugged in before user clicks Use Certificate or smart card, the user will be shown the certificates in the YubiKey.
  • If the YubiKey is not plugged in before user clicks Use Certificate or smart card, the user will be asked to select between certificates on device or physical smart card. If the user chooses Certificate on device, the user will be shown the certificates on the device. If the user chooses Certificates on physical smart card, plug in or hold the YubiKey to the back, and the user will be shown the certificates in the YubiKey.

My YubiKey is locked after incorrectly typing PIN three times. How do I fix it?

  • Users should see a dialog informing you that too many PIN attempts have been made. This dialog also pops up during subsequent attempts to select Use Certificate or smart card.
  • Users should contact the admin to reset a YubiKey PIN.

I have installed Microsoft authenticator but still do not see an option to do Certificate based authentication with YubiKey.

Before installing Microsoft Authenticator, uninstall Company Portal and install it after Microsoft Authenticator installation.

Does Microsoft Entra CBA support YubiKey via NFC?

Microsoft Entra CBA supports using YubiKey with USB and NFC.

Once CBA fails, clicking on the CBA option again in the ‘Other ways to signin’ link on the error page fails.

This issue happens because of certificate caching. As a workaround, clicking cancel and restarting the login flow will let the user choose a new certificate and successfully login.

Microsoft Entra CBA with YubiKey is failing. What information would help debug the issue?

  1. Open Microsoft Authenticator app, click the three dots icon in the top right corner and select Send Feedback.
  2. Click Having Trouble?.
  3. For Select an option, select Add or sign into an account.
  4. Describe any details you want to add.
  5. Click the send arrow in the top right corner. Note the code provided in the dialog that appears.

Next steps

  • Overview of Microsoft Entra CBA
  • Technical deep dive for Microsoft Entra CBA
  • How to configure Microsoft Entra CBA
  • Microsoft Entra CBA on iOS devices
  • Windows SmartCard logon using Microsoft Entra CBA
  • Certificate user IDs
  • How to migrate federated users
  • FAQ
Microsoft Entra certificate-based authentication on Android devices - Microsoft Entra ID (2024)

FAQs

What is Microsoft Entra ID in the Authenticator app? ›

The Authenticator app generates a public and a private key for an account. Entra ID stores the public key: the private key remains on the device where the Authenticator app runs (iOS or Android).

What is certificate-based authentication in Microsoft? ›

Microsoft Entra certificate-based authentication (CBA) enables organizations to configure their Microsoft Entra tenants to allow or require users to authenticate with X. 509 certificates created by their Enterprise Public Key Infrastructure (PKI) for app and browser sign-in.

What alternative authentication methods are supported on Microsoft Entra ID? ›

How each authentication method works
MethodPrimary authenticationSecondary authentication
Microsoft Authenticator (Passwordless)YesNo*
Authenticator LiteNoMFA
Passkey (FIDO2)YesMFA
Certificate-based authenticationYesMFA
9 more rows
Jul 12, 2024

What version of Android is required for Microsoft Authenticator? ›

System requirements

Android 8.0 and later. iOS 15 or later. watchOS (no longer supported as of January 2023) Windows 10 Mobile 14393.0 or later.

Where can I find the Microsoft Entra ID? ›

Find tenant ID through the Microsoft Entra admin center

Sign in to the Microsoft Entra admin center as at least a Global Reader. Browse to Identity > Overview > Properties.

Where to find Microsoft Entra ID QR code? ›

The key to getting a new QR code for your Entra ID account is the Security info section of the My account page. After signing into your account, this section displays the sign-in methods used to access your account (Figure 1).

What is an example of certificate based authentication? ›

Let's see some examples of how common Certificate-Based Authentication (CBA) is. For example, the smart card is used for accessing offices or other buildings. Another example is the SSL/TLS protocol used in web browsers. CBA is also a key component of any Public Key Infrastructure (PKI) implementation.

What is an example of a certificate of authentication? ›

This is known either as an “apostille” or “certificate of authentication.” Examples of documents that are frequently authenticated by the Department of State are birth, marriage, and death certificates.

What is the difference between password and certificate authentication? ›

Username and password authentication is based only on what the user knows (the password), but certificate-based client authentication also leverages what the user has (the private key), which cannot be phished, guessed or socially engineered.

What are the authentication protocols for entra id? ›

Entra ID leverages cutting-edge authentication protocols such as OpenID Connect, OAuth and SAML. In addition, it provides functionalities such as self-service password reset, multifactor authentication (MFA), Conditional Access policies, and even password-free authentication.

What are the two features that Microsoft Entra ID provides? ›

Azure AD, now known as Microsoft Entra ID, has a free edition that provides user and group management, on-premises directory synchronization, basic reports, self-service password change for cloud users, and single sign-on across Azure, Microsoft 365, and many popular SaaS apps.

How do I enable Microsoft Entra authentication? ›

Navigate to your SQL virtual machines resource in the Azure portal. Select Security Configuration under Security. Choose Enable under Microsoft Entra authentication. Choose the managed identity type from the drop-down, either System-assigned or User-assigned.

Where is the Microsoft Authenticator app on my Android phone? ›

1) Open the Play Store app on your Android phone. 2) Select “Search” on the field at the top of your screen, then type “Microsoft Authenticator” in the search bar. 3) Click on “Install” to install the Microsoft Authenticator App.

What app does Microsoft use to authenticate? ›

If your organization is using multi-factor authentication (MFA) for Microsoft 365, the easiest verification method to use is the Microsoft Authenticator smart phone app. It's just one click instead of typing in a 6-digit code.

Does Microsoft Authenticator give access to my phone? ›

The Microsoft Authenticator does not give MCC Technology Services or Microsoft access to any data or information on your device.

What does Entra ID do? ›

Microsoft Entra ID, formerly known as Azure Active Directory (Azure AD), is an identity and access management solution from Microsoft that helps organizations secure and manage identities in cloud and on-premises environments.

What is Microsoft Entra integrated authentication? ›

Microsoft Entra authentication uses contained database users to authenticate identities at the database level. Microsoft Entra ID supports token-based authentication for applications connecting to SQL Database and SQL Managed Instance. Microsoft Entra authentication supports: Microsoft Entra cloud-only identities.

How to configure entra id? ›

To set up Verified ID, follow these steps:
  1. Sign in to the Microsoft Entra admin center as a Global Administrator.
  2. Select Verified ID.
  3. From the left menu, select Setup.
  4. From the middle menu, select Configure organization settings.
  5. Select Save.

How do I create a passkey for my Entra ID? ›

Users can register a passkey (FIDO2) as an authentication method by navigating and completing the process from a browser at My Security info. Tap Add sign-in method > Choose a method > Passkey (preview) > Add. Sign in with multifactor authentication (MFA) before adding a passkey, then tap Next.

References

Top Articles
Latest Posts
Article information

Author: Jonah Leffler

Last Updated:

Views: 6126

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.