Skip to main content
Version: 2.0.1 (preview)

Test-MtEidscaCR04

SYNOPSISโ€‹

Checks if Consent Framework - Admin Consent Request - Consent request duration (days) is set to 30

SYNTAXโ€‹

Test-MtEidscaCR04 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTIONโ€‹

Specifies the duration the request is active before it automatically expires if no decision is applied

Queries policies/adminConsentRequestPolicy and returns the result of graph/policies/adminConsentRequestPolicy.requestDurationInDays -le 30

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-MtEidscaCR04

Returns the result of graph.microsoft.com/beta/policies/adminConsentRequestPolicy.requestDurationInDays -le 30

PARAMETERSโ€‹

-ProgressActionโ€‹

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParametersโ€‹

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTSโ€‹

OUTPUTSโ€‹

System.Booleanโ€‹

NOTESโ€‹