Skip to main content
Version: 2.1.0

MT.1147 - Do not sync krbtgt_AzureAD to Entra ID

Overview​

Ensure krbtgt_AzureAD is not synchronized from on-premises Active Directory.

The krbtgt_AzureAD account is a sensitive identity used by Microsoft's cloud services for Microsoft Entra Kerberos scenarios. Microsoft recommends keeping a clear separation between cloud and on-premises environments and not synchronizing this account to Entra ID. Synchronizing an on-premises krbtgt_AzureAD account creates an unnecessary privilege escalation path between the environments.

Remediation action:​

  1. Review your Microsoft Entra Connect synchronization scope and identify the on-premises krbtgt_AzureAD account.
  2. Exclude that account from synchronization, for example by OU filtering or domain filtering, so it is not synced to Entra ID.
  3. Run a synchronization cycle and confirm that no synchronized krbtgt_AzureAD account remains in Entra ID.

Test Metadata​

FieldValue
Test IDMT.1147
SeverityHigh
SuiteMaester
CategoryEntra
PowerShell testTest-MtKrbtgtAzureADNotSynced
TagsEntra, Graph, Hybrid, Maester, MT.1147

Source​

  • Pester test: tests/Maester/Entra/Test-MtOnPremisesSynchronization.Tests.ps1
  • PowerShell source: powershell/public/maester/entra/Test-MtKrbtgtAzureADNotSynced.ps1