Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Reset-RASMFAUsers

SYNOPSIS

Reset MFA TOTP/EmailOTP authentication for all or specific users.

SYNTAX

Reset-RASMFAUsers -AllUsers <SwitchParameter> [-MFAId <uint>] [-SiteId <uint>]
 [-Type {GAuthTOTP | TOTP | MicrosoftTOTP | EmailOTP}] [<CommonParameters>]
Reset-RASMFAUsers -Users <string[]> [-MFAId <uint>] [-SiteId <uint>]
 [-Type {GAuthTOTP | TOTP | MicrosoftTOTP | EmailOTP}] [<CommonParameters>]

DESCRIPTION

Reset MFA TOTP/EmailOTP authentication for all or specific users.

EXAMPLES

Example 1

Reset-RASMFAUsers -Users "user1@domain.com", "user2@domain.com" -Type TOTP

Reset MFA TOTP authentication for user1 and user2 on current site.

Example 2

Reset MFA EmailOTP authentication for user1 and user2 in MFA with Id 1.

Example 3

Reset MFA TOTP authentication for user1 and user2 on site '2'.

Example 4

Reset MFA TOTP authentication for all users on current site

Example 5

Reset MFA EmailOTP authentication for all users in MFA with Id 1.

Example 6

Reset MFA TOTP authentication for all users on site '2'.

PARAMETERS

-Users

List of users for which to reset Google Authentication.

-SiteId

Site ID where the users need to be reset.

-AllUsers

When present, TOTP users will be reset.

-MFAId

The ID of the MFA Provider to be modified.

In case of TOTP Provider, the ID will always be 0. Default: 0.

-Type

The MFA Provider Type to be modified.

If the parameter is omitted, the site ID of the Licensing Server will be used.

Possible values: GAuthTOTP, TOTP, MicrosoftTOTP, EmailOTP

Type reference: MFAUsersType

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

None

OUTPUTS

None

Last updated