Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.35 KB

File metadata and controls

28 lines (22 loc) · 1.35 KB

Get-CIPPPerUserMFA

SYNOPSIS

Retrieves the per-user Multi-Factor Authentication (MFA) status for a specified user or all users in a given customer tenant.

DESCRIPTION

PARAMETERS

-CustomerTenantID

Foo Foo
The ID of the customer tenant for which to retrieve the per-user MFA status. This parameter is mandatory.

-UserId

Foo Foo
The ID of the user for whom to retrieve the per-user MFA status. This parameter is optional and is ignored if the AllUsers switch is specified. Can be either the user's email address or the user's ID.

-AllUsers

Foo Foo Foo
A switch parameter that, when specified, retrieves the per-user MFA status for all users in the specified customer tenant. If this switch is specified, the UserId parameter is ignored.

EXAMPLE 1

PS > Get-CIPPPerUserMFA -CustomerTenantID "12345" -UserId "user@example.com"

EXAMPLE 2

PS > Get-CIPPPerUserMFA -CustomerTenantID "12345" -AllUsers