Test-MtSpExchangeAppAccessPolicy
SYNOPSIS
Check if service principals with Exchange permissions have application access policies configured.
SYNTAX
Test-MtSpExchangeAppAccessPolicy [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
Service principals with Exchange permissions can access all mailboxes by default. This test verifies that proper access policies are in place.
EXAMPLES
EXAMPLE 1
Test-MtSpExchangeAppAccessPolicy
Returns true if all service principals with Exchange permissions have access policies configured
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
RELATED LINKS
https://maester.dev/docs/commands/Test-MtSpExchangeAppAccessPolicy