Skip to main content

Test-MtCaEnforceNonPersistentBrowserSession

SYNOPSIS​

Checks if the tenant has at least one conditional access policy enforcing non persistent browser session

SYNTAX​

Test-MtCaEnforceNonPersistentBrowserSession [-AllDevices] [-ProgressAction <ActionPreference>]
[<CommonParameters>]

DESCRIPTION​

Non persistent browser session conditional access policy can be helpful to minimize the risk of data leakage from a unmanaged device.

Learn more: https://aka.ms/CATemplatesBrowserSession

EXAMPLES​

EXAMPLE 1​

Test-MtCaEnforceNonPersistentBrowserSession

PARAMETERS​

-AllDevices​

Ignore device filters for compliant devices.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-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​

https://maester.dev/docs/commands/Test-MtCaEnforceNonPersistentBrowserSession