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:
| Setting | Value |
|---|---|
| Users | All users or selected groups |
| Target resources | All resources |
| Device platforms | iOS and Android |
| Grant control | Require 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.
| Property | Value |
|---|---|
| Application name | Microsoft Authenticator Credential Registration |
| Application ID | 6aa00308-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 ProcessStep 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 5Expected 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:
- Narrow the policy from All resources to specific applications, using filter for applications.
- Require a compliant device (Require device to be marked as compliant) in addition to or instead of app protection, if the device is MDM-managed.
- Use a Temporary Access Pass together with Authentication strength in the mobile policy, so the user registers a passkey directly in Authenticator.
From the field
- You can prepare now. In our tenant the application was created and the mapping was accepted, but registration is not routed through the new resource yet.
- Graph Explorer failed for us. The PATCH request returned 403 Forbidden about missing scopes, even after the permissions were granted. The same change worked through Microsoft Graph PowerShell.
- Start with a pilot user. When the resource is available, check that passkey registration works, and that other resources still require app protection, before you widen it.
- Temporary user exclusions tend to stay. They often outlive the registration by years. Excluding the resource itself avoids that.
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