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
| Field | Value |
|---|---|
| Test ID | MT.1027 |
| Severity | High |
| Suite | M365 Advisor |
| Category | Privileged |
| PowerShell test | Test-MtPrivPermanentDirectoryRole |
| Tags | M365Advisor, MT.1027, Privileged |
Source
- Pester test:
tests/M365Advisor/Entra/Test-PrivilegedAssignments.Tests.ps1 - PowerShell source:
powershell/public/M365Advisor/entra/Test-MtPrivPermanentDirectoryRole.ps1