Skip to content

Ulysses Neves

Microsoft Entra ID, authentication, and hybrid identity troubleshooting.

Menu
  • Home
  • Microsoft Azure
  • Microsoft AD FS
  • Microsoft 365
  • Contact
  • Troubleshooting Index
Menu

Microsoft Entra ID CAP | Enforcing WHfB using Authentication Strength

Posted on April 21, 2024

Explore Microsoft 365 security as we guide you through implementing a Conditional Access policy that requires Windows Hello for Business authentication. This step-by-step tutorial covers the integration process, authentication strength configuration, and offers insights into expected error messages. Discover how to investigate and resolve issues efficiently, ensuring a seamless transition to this advanced security measure and strengthening your Microsoft 365 environment against unauthorized access. Elevate your digital workspace security and empower users with this comprehensive guide.

Scenario:

For learning purposes, let’s consider the scenario where I want to enforce the users to use Windows Hello for Business to authenticate against Office 365 Apps.

Application: Office 365
User: User5@contoso.com
Grant control: Require authentication strength
Custom Authentication Strength: Windows Hello For Business

Creating the custom Authentication Strength

The initial step to leverage authentication strength in the Conditional Access policy is to create a custom policy. While built-in policies are available, they may not align with our specific requirements, necessitating the creation of a new one to meet our current scope.

  • Open the Microsoft Entra admin center using URL https://entra.microsoft.com/.
  • Expand Protection » Conditional Access » Authentication Strengths » Select + New authentication strength:

Give a name to the configuration and select the authentication method to be required by the setting. In our case, we’ll select Windows Hello for Business only.

Creating the Conditional Access Policy

With the Auth Strength above created, let’s build the conditional access policy, considering the scenario mentioned above:

Still in the Microsoft Entra admin center portal, expand Protection » Conditional Access » Select + New Policy.

For this scenario, we’ll only configure users, Target resources and Grant properties. Give the policy a name and configure the additional settings:

User: Select Users » Include | Select users and groups » Users and Groups » Select » Choose the user or group you would like to enforce the WHfB. Your setting should look like below:

Target resources: Select No targets resources selected » Cloud Apps » Include | Selected Apps » Select » Find Office 365 App group in the picker list. Click on Select after choosing the App. Your setting should look like below:

Access controls: Select Grant » Grant Access » Require Authentication Strength » Select the Auth Strength custom policy configured previously. In our case, WHfB required. Your setting should look like below:

Turn the policy On and click Save.

User experience:

Scenario 1: Let’s simulate the scenario where the user does not meet the authentication Strength requirements. I will have User5 sign into the Windows machine using password and access Office portal using Edge.

Error message is observed after the user provides a username and password when attempting to access https://portal.office.com:

Troubleshooting: Let’s investigate the block reason using Entra Sign in report.

After finding the event that matched with our error above, under Basic Info tab, we’re able to find more details about the source of the block message:

Under Authentication Details, we’re able to find the first authentication method satisfied (Green), but an error message complains about the MFA claim (red). We also see the configured authentication method requirement under ‘Requirement’ column (blue):

The reason for the failing authentication is because the user did not sign in to the Windows machine using Windows Hello for Business PIN, but using a password.

Checking the Conditional Access policy tab, we find the policy that triggered the failure:

Expanding the policy’s details, we find more information about the policy result:

This limitation is properly documented in the Microsoft’s public doc below:

Windows Hello for Business – If the user signed in with Windows Hello for Business as their primary authentication method, it can be used to satisfy an authentication strength requirement that includes Windows Hello for Business. However, if the user signed in with another method like password as their primary authentication method, and the authentication strength requires Windows Hello for Business, they aren’t prompted to sign in with Windows Hello for Business. The user needs to restart the session, choose Sign-in options, and select a method required by the authentication strength.

Reference: https://learn.microsoft.com/en-us/entra/identity/authentication/concept-authentication-strengths#limitations

Scenario 2: Let’s sign in to the Windows machine using a Windows Hello for Business PIN and try to access the same Office App.

After using WHfB PIN to authenticate against the Windows machine, the user is automatically authorized to access Office portal:

Checking the same Authentication Details tab, we confirm that both authentication methods have been satisfied because the token obtained from the Windows Sign in using the WHfB PIN has already an MFA claim present:

Conclusion:

In this article, we explained how to enforce users to sign in to the Windows using a Windows Hello for Business PIN before being authorized to access a Microsoft 365 app. We used the Entra Conditional Access policy with Authentication Strength to accomplish this goal. I trust that this article has not only been informative but will also empower you in effectively managing your Windows Hello for Business environment.

Did you find this article helpful? Consider showing your appreciation by liking and sharing it. 🙂

Disclaimer: The views expressed in this post are personal and do not represent the opinions of my organization. The provided solution is offered “AS IS” without warranties or guarantees and should be validated in a test environment before deployment in production.

Your suggestions and feedback are invaluable; feel free to leave a comment.

[ ]’s Ulysses Neves

Related guides: Browse the Microsoft Identity Troubleshooting Index or the Windows Hello for Business topic archive.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • Microsoft Defender for Identity domain investigation: six questions to ask first September 10, 2026
  • Microsoft Entra Kerberos key rotation: what changes—and what administrators should check September 6, 2026
  • Microsoft Authenticator Will Block Jailbroken Devices in 2026 — What You Need to Know March 17, 2026
  • Enhancing Azure role activation security with FIDO2/Passkeys September 23, 2024
  • Microsoft Entra ID CAP | Enforcing WHfB using Authentication Strength April 21, 2024

Archives

  • September 2026
  • March 2026
  • September 2024
  • April 2024
  • February 2024
  • December 2023
  • September 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019

Tags

#aaddownleveldevice #adfs #adfscertificate #adfscertificates #adfsmfaadapter #azureauth #azureCA #azuredevice #capolicy #cloudsummit2021 #conditionalaccess #conditionalaccesspolicy #deviceregistration #farmbehavior #gopasswordless #mfaserver #msidentity #namedlocation #securingazure #securingazuread #sslprivatekey #troubleshootingadfs #troubleshootingwaptrust #tshootadfs #waptrust #webapplicationproxy #WHFBcerttrust #whfbdeployment #WHfBhybridsetup #WHfBprovisioning #widdatabase adconnect AD FS authenticationstrength az500 azurepim Azure security cloudsecurity microsoft365 Microsoft Azure Microsoft Entra hybrid join Microsoft Entra ID Microsoft Entra MFA PowerShell WHfB
©2026 Ulysses Neves | Design: Newspaperly WordPress Theme
Ulysses Neves
Gerenciar Consentimento de Cookies
Para fornecer as melhores experiências, usamos tecnologias como cookies para armazenar e/ou acessar informações do dispositivo. O consentimento para essas tecnologias nos permitirá processar dados como comportamento de navegação ou IDs exclusivos neste site. Não consentir ou retirar o consentimento pode afetar negativamente certos recursos e funções.
Funcional Always active
O armazenamento ou acesso técnico é estritamente necessário para a finalidade legítima de permitir a utilização de um serviço específico explicitamente solicitado pelo assinante ou utilizador, ou com a finalidade exclusiva de efetuar a transmissão de uma comunicação através de uma rede de comunicações eletrónicas.
Preferências
O armazenamento ou acesso técnico é necessário para o propósito legítimo de armazenar preferências que não são solicitadas pelo assinante ou usuário.
Estatísticas
O armazenamento ou acesso técnico que é usado exclusivamente para fins estatísticos. O armazenamento técnico ou acesso que é usado exclusivamente para fins estatísticos anônimos. Sem uma intimação, conformidade voluntária por parte de seu provedor de serviços de Internet ou registros adicionais de terceiros, as informações armazenadas ou recuperadas apenas para esse fim geralmente não podem ser usadas para identificá-lo.
Marketing
O armazenamento ou acesso técnico é necessário para criar perfis de usuário para enviar publicidade ou para rastrear o usuário em um site ou em vários sites para fins de marketing semelhantes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
Ver preferências
  • {title}
  • {title}
  • {title}