EIDSCA.CR04 - Consent Framework - Admin Consent Request - Consent request duration (days).
Overview
Specifies the duration the request is active before it automatically expires if no decision is applied
Test script
https://graph.microsoft.com/beta/policies/adminConsentRequestPolicy
.requestDurationInDays -le 30
Related links
- Open in Graph Explorer
- adminConsentRequestPolicy resource type - Microsoft Graph v1.0 | Microsoft Learn
- View in Microsoft Entra admin center
Test Metadata
| Field | Value |
|---|---|
| Test ID | EIDSCA.CR04 |
| Severity | High |
| Suite | Entra ID SCA |
| Category | General |
| PowerShell test | Test-MtEidscaCR04 |
| Tags | EIDSCA, EIDSCA.CR04 |
Source
- Pester test:
tests/EIDSCA/Test-EIDSCA.Generated.Tests.ps1 - PowerShell source:
powershell/internal/eidsca/Test-MtEidscaCR04.ps1