HEBook a call
Book a callHE
Blog

Why passkey registration in Authenticator fails when Conditional Access requires app protection, and Microsoft's fix

30 November 2026 · Gilad Keidar

Microsoft news

A Conditional Access policy that requires an app protection policy on all resources blocks passkey registration in Microsoft Authenticator, because Authenticator does not support that grant control. Microsoft's fix is a dedicated resource you can exclude, expected to be available in January 2027.

Many organizations harden Microsoft 365 with two complementary controls: moving users to passkeys, which resist phishing, and limiting mobile access to apps covered by Intune app protection policies (MAM). Each is good on its own, but together they can collide. Until now the usual workaround was a temporary user exclusion, which is a security exception plus manual work. This guide shows how Microsoft solves it without excluding any user, how to prepare now, and what to do until it works.

Why MAM blocks passkey registration

A common policy for enforcing app protection on mobile looks like this:

SettingValue
UsersAll users or selected groups
Target resourcesAll resources
Device platformsiOS and Android
Grant controlRequire app protection policy

Registering a passkey in Authenticator is an authenticated request to Microsoft Entra ID. Authenticator does not support this grant control, so the policy blocks the registration.

The fix: exclude the registration resource

Microsoft is adding a dedicated resource to Conditional Access that is used only for passkey registration in Authenticator. You exclude it from the policy, and every other resource stays under app protection. The resource is expected to be available in January 2027.

PropertyValue
Application nameMicrosoft Authenticator Credential Registration
Application ID6aa00308-ea33-4caa-90d6-ae905d8cb51b

How to set it up

Step 1: connect to Microsoft Graph. Install the Microsoft.Graph.Authentication module and connect with the required permissions:

Connect-MgGraph -TenantId "<TENANT-ID>" -Scopes "Application.ReadWrite.All","Policy.Read.All","Policy.ReadWrite.ConditionalAccess" -ContextScope Process

Step 2: create the enterprise application in your tenant. The script checks whether the application already exists, creates it if needed, and verifies the result. It retries every five seconds for up to 30 seconds, because directory replication takes time:

$ErrorActionPreference = "Stop"

$appId = "6aa00308-ea33-4caa-90d6-ae905d8cb51b"
$uri = "https://graph.microsoft.com/v1.0/servicePrincipals"
$filter = [uri]::EscapeDataString("appId eq '$appId'")
$query = "${uri}?`$filter=$filter"

$sp = (Invoke-MgGraphRequest -Method GET -Uri $query).value

if (-not $sp) {
    Invoke-MgGraphRequest -Method POST -Uri $uri `
        -Body (@{ appId = $appId } | ConvertTo-Json) `
        -ContentType "application/json" | Out-Null

    Write-Host "Enterprise application created."
} else {
    Write-Host "Enterprise application already exists."
}

for ($i = 0; $i -le 6; $i++) {
    if ($i -gt 0) { Start-Sleep -Seconds 5 }
    $sp = (Invoke-MgGraphRequest -Method GET -Uri $query).value
    if ($sp -and $sp.appId -eq $appId) { break }
}

if (-not $sp -or $sp.appId -ne $appId) {
    throw "Enterprise application verification failed."
}

Write-Host "Verified: $($sp.displayName)"
Write-Host "Object ID: $($sp.id)"

Step 3: enable the resource mapping for a pilot user. Start with one user and replace <TEST-USER-OBJECT-ID> with their Object ID. Creating the application is not enough: Entra must also be told to use the resource during registration:

$ErrorActionPreference = "Stop"

$target = "<TEST-USER-OBJECT-ID>"
$uri = "https://graph.microsoft.com/beta/identity/conditionalAccess/settings"

if ($target -ne "All") {
    $target = ([guid]$target).ToString()
}

$current = (Invoke-MgGraphRequest -Method GET -Uri $uri).authenticatorPasskeyRegistrationResourceMapping

if ($target -ne "All" -and ($current.includeUsers | Where-Object { $_ -and $_ -ne $target })) {
    throw "Existing resource mapping found. Review it before making changes."
}

$body = @{
    authenticatorPasskeyRegistrationResourceMapping = @{
        isEnabled = $true
        includeUsers = @($target)
    }
} | ConvertTo-Json -Depth 5

Invoke-MgGraphRequest -Method PATCH -Uri $uri `
    -Body $body -ContentType "application/json"

for ($i = 0; $i -le 6; $i++) {
    if ($i -gt 0) { Start-Sleep -Seconds 5 }
    $result = (Invoke-MgGraphRequest -Method GET -Uri $uri).authenticatorPasskeyRegistrationResourceMapping
    if ($result.isEnabled -eq $true -and
        @($result.includeUsers).Count -eq 1 -and
        $result.includeUsers -contains $target) { break }
}

if ($result.isEnabled -ne $true -or
    @($result.includeUsers).Count -ne 1 -or
    $result.includeUsers -notcontains $target) {
    throw "Resource mapping verification failed."
}

Write-Host "Resource mapping successfully verified."
$result | ConvertTo-Json -Depth 5

Expected output:

{
    "isEnabled": true,
    "includeUsers": [
        "<TEST-USER-OBJECT-ID>"
    ]
}

Step 4: exclude the resource from the policy. In the Microsoft Entra admin center, go to Entra ID > Conditional Access > Policies, open the policy that requires Require app protection policy, and under Target resources > Exclude add Microsoft Authenticator Credential Registration. Save. Once the resource is available, the pilot user should be able to register a passkey while still needing app protection for every other resource.

Step 5: extend to all users. Once you have checked that passkey registration works and that app protection still applies to other resources, run the step 3 script again with:

$target = "All"

What to do until January

Until registration goes through the dedicated resource, there are other ways around the same block:

From the field

Can we use this today?

Not yet. You can prepare the application, the mapping and the exclusion, but registration is expected to go through the dedicated resource only from January 2027. Until then, use one of the other options.

Does the exclusion weaken protection for other apps?

No. Only the registration resource is excluded. App protection still applies to every other resource, and any other policy that targets security info registration still applies to a user registering a passkey.

Leave us a message and we will help you get Conditional Access ready for passkeys without excluding users.

Contact us

Sources