> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/reset-rasmfausers.md).

# Reset-RASMFAUsers

## SYNOPSIS

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

## SYNTAX

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

```powershell
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

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

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

### Example 2

```powershell
Reset-RASMFAUsers -Users "user1@domain.com", "user2@domain.com" -Type EmailOTP -MFAId 1
```

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

### Example 3

```powershell
Reset-RASMFAUsers -Users "user1@domain.com", "user2@domain.com" -SiteID 2 -Type TOTP
```

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

### Example 4

```powershell
Reset-RASMFAUsers -AllUsers -Type TOTP
```

Reset MFA TOTP authentication for all users on current site

### Example 5

```powershell
Reset-RASMFAUsers -AllUsers -Type EmailOTP -MFAId 1
```

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

### Example 6

```powershell
Reset-RASMFAUsers -AllUsers -SiteID 2 -Type TOTP
```

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

## PARAMETERS

### -Users

List of users for which to reset Google Authentication.

```yaml
Type: string[]
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -SiteId

Site ID where the users need to be reset.

```yaml
Type: uint
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllUsers

When present, TOTP users will be reset.

```yaml
Type: SwitchParameter
Required: True
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -MFAId

The ID of the MFA Provider to be modified.

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

```yaml
Type: uint
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
```

### -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](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/types/mfauserstype.md)

```yaml
Type: MFAUsersType
Required: False
Position: Named
Default value: TOTP
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](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

## OUTPUTS

### None

## RELATED LINKS

* [Add-RASMFAUsers](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/add-rasmfausers.md)
* [Find-RASMFAUsers](https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/find-rasmfausers.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/ras-powershell-api-guide/rasadmin/cmdlets/reset-rasmfausers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
