MT.1057 - Ensure Microsoft 365 Group (and Team) expiration is configured to notify users.
Overview
This test checks if you have any app registrations that have secrets configured. Using secrets is discouraged! There are better ways available to authenticate your applications.
Remediation action
Open all app registrations below and remove the secrets.
Test Metadata
| Field | Value |
|---|---|
| Test ID | MT.1057 |
| Severity | Medium |
| Suite | M365 Advisor |
| Category | App |
| PowerShell test | Test-MtAppRegistrationsWithSecrets |
| Tags | App, Entra, Graph, LongRunning, M365Advisor, MT.1057 |
Source
- Pester test:
tests/M365Advisor/Entra/Test-AppRegistrations.Tests.ps1 - PowerShell source:
powershell/public/M365Advisor/entra/Test-MtAppRegistrationsWithSecrets.ps1