Test-MtCaAllAppsExists
SYNOPSISโ
Checks if the tenant has at least one fallback policy targeting All Apps and All Users.
SYNTAXโ
Test-MtCaAllAppsExists [-SkipCheckAllUsers] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTIONโ
Microsoft recommends creating at least one conditional access policy targeting all cloud apps and ideally should be enabled for all users.
EXAMPLESโ
EXAMPLE 1โ
Test-MtCaAllAppsExists
Returns true if at least one conditional access policy exists that targets all cloud apps and all users.
EXAMPLE 2โ
Test-MtCaAllAppsExists -SkipCheckAllUsers
Returns true if at least one conditional access policy exists that targets all cloud apps and all users, but skips the check for all users.
PARAMETERSโ
-SkipCheckAllUsersโ
Do not check for All Users target in policy.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
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.