Skip to main content
Version: 2.1.1-preview

MT.1081 - Hybrid users should not be assigned Entra ID role assignments

Overviewโ€‹

Microsoft strongly recommends avoiding the use of synchronized identities to manage Microsoft 365 or Microsoft Entra environments for protecting against on-premises attacks.

How to fixโ€‹

Create dedicated privileged users to assign and use Entra ID roles, and remove the previous role assignments for the on-premises accounts.

Test Metadataโ€‹

FieldValue
Test IDMT.1081
SeverityMedium
SuiteMaester
CategoryPrivileged
PowerShell testTest-MtXspmHybridUsersWithAssignedEntraIdRoles
TagsEntra, EntraOps, Graph, LongRunning, MT.1081, Privileged, XSPM

Sourceโ€‹

  • Pester test: tests/XSPM/Test-XspmPrivilegedIdentities.Tests.ps1
  • PowerShell source: powershell/public/xspm/Test-MtXspmHybridUsersWithAssignedEntraIdRoles.ps1