Test-MtEidscaCP03
SYNOPSISโ
Checks if Default Settings - Consent Policy Settings - Block user consent for risky apps is set to 'true'
SYNTAXโ
Test-MtEidscaCP03 [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTIONโ
Defines whether user consent will be blocked when a risky request is detected
Queries settings and returns the result of graph/settings.values | where-object name -eq 'BlockUserConsentForRiskyApps' | select-object -expand value -eq 'true'
EXAMPLESโ
EXAMPLE 1โ
Test-MtEidscaCP03
Returns the result of graph.microsoft.com/beta/settings.values | where-object name -eq 'BlockUserConsentForRiskyApps' | select-object -expand value -eq 'true'
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.