Skip to main content
Version: 2.1.0

MT.1027 - No Service Principal with Client Secret and permanent role assignment on Control Plane.

Overview

GET /beta/roleManagement/directory/roleAssignments?$expand=principal

Test Metadata

FieldValue
Test IDMT.1027
SeverityHigh
SuiteM365Advisor
CategoryPrivileged
PowerShell testTest-MtPrivPermanentDirectoryRole
TagsM365Advisor, MT.1027, Privileged

Source

  • Pester test: tests/M365Advisor/Entra/Test-PrivilegedAssignments.Tests.ps1
  • PowerShell source: powershell/public/m365advisor/entra/Test-MtPrivPermanentDirectoryRole.ps1