azureblog.co.uk
← cd ~/events
// events/906 · Entra Connect

Event ID 906MSAL token acquisition via certificate failed

Entra Connect Sync could not authenticate with application-based authentication, for example AADSTS700027 when two sync servers share the same Entra connector account or a server was cloned.

LogApplication
SourceDirectory Synchronization
AreaEntra Connect

What to check

Give each Connect server its own connector account and application registration, then run Repair-ADSyncToolsEntraAppParameters or the wizard.

Codes you'll see in this event

CodeMeaning
AADSTS700027Certificate used to sign the client assertion is not registered on the application.

Find it with PowerShell

Run on the machine that logs it.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Application'; Id = 906 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message

Hunt for it in Sentinel or Log Analytics

This works once a data collection rule sends the Application log to your workspace, where it lands in the Event table.

kql5 lines
Event
| where TimeGenerated > ago(7d)
| where EventLog == "Application" and EventID == 906
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated desc

Related Entra Connect events

Search all 123 event IDs →