Skip to main content

Test-MtServicePrincipalsForAllUsers

SYNOPSIS

Check if any third party service principals are still assigned to all users.

SYNTAX

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

DESCRIPTION

It is recommended to set 'Assignment required?' to Yes for all Third Party apps. Provide users with explicit access through security groups. If desired, use the audit logs per app to determine who was using the application before locking them down.

EXAMPLES

EXAMPLE 1

Test-MtServicePrincipalsForAllUsers

Returns true if no third party service principals are are assigned to all users. Otherwise returns false.

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

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