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

Set-RASMFA

SYNOPSIS

Modifies a multi-factor authentication.

SYNTAX

Set-RASMFA [-Id] <uint> -Deepnet <SwitchParameter> [-ActivateEmail <bool>] [-ActivateSMS <bool>]
 [-App <string>] [-AppID <string>]
 [-AuthMode {MandatoryForAllUsers | CreateTokenForDomainAuthenticatedUsers | UsersWithDeepnetAcc}]
 [-DeepnetAgent <string>] [-DeepnetPort <uint>] [-DeepnetServer <string>] [-DefaultDomain <string>]
 [-Description <string>] [-Enabled <bool>] [-InheritDefaultCriteriaSettings <bool>]
 [-NewName <string>] [-SSL <bool>] [-TokenType {MobileID | QuickID}] [<CommonParameters>]
Set-RASMFA [-Id] <uint> -EmailOTP <SwitchParameter> [-ADCustomAttribute <string>]
 [-AllowEnrollExternalEmail <bool>] [-DefaultEmailContent <SwitchParameter>]
 [-DefaultEmailSubject <SwitchParameter>] [-DefaultUserMessagePrompt <SwitchParameter>]
 [-Description <string>] [-DisplayName <string>] [-EmailContent <string>] [-EmailSubject <string>]
 [-Enabled <bool>] [-ExternalEmailStorage {RASDatabase | ADMail | ADCustom}]
 [-InheritDefaultCriteriaSettings <bool>] [-NewName <string>] [-OTPLength <uint>]
 [-OTPLifespanSec <uint>]
 [-ShowInformationForUnenrolledUsers {Always | IfEnrollmentIsAllowed | Never}]
 [-UntilDateTime <DateTime>] [-UserEnrollment {Allow | AllowUntil | DoNotAllow}]
 [-UserMessagePrompt <string>] [<CommonParameters>]

DESCRIPTION

Modifies properties of a multi-factor authentication.

EXAMPLES

Example 1

Disables the multi-factor authentication specified by name and by type.

Example 2

Disables the multi-factor authentication specified by ID.

PARAMETERS

-Name

The name of the target multi-factor authentication .

This must be the actual multi-factor authentication name used in the RAS farm.

-SiteId

Site ID in which to modify the specified multi-factor authentication .

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

-Id

The ID of the multi-factor authentication to modify. To obtain the ID, use the Get-RASMFA cmdlet.

-InputObject

The multi factor authentication to modify.

To obtain an object of type MFA, use the Get-RASMFA cmdlet.

Type reference: MFA

-NewName

The new name of the target multi-factor authentication .

-Description

A user-defined multi-factor authentication description.

-Enabled

Enable or disable the specified multi-factor authentication in a site.

-InheritDefaultCriteriaSettings

If true default criteria settings will be inherited.

-Deepnet

Deepnet SwitchParameter.

-ActivateEmail

Whether the activation email is enabled or disabled.

-ActivateSMS

Whether the activation SMS is enabled or disabled.

-App

A value that represents the application name.

-AppID

A value that represents the application ID.

-AuthMode

Authentication mode which defines the type of user for which a token will be created.

Possible values: MandatoryForAllUsers, CreateTokenForDomainAuthenticatedUsers, UsersWithDeepnetAcc

Type reference: DeepnetAuthMode

-DeepnetAgent

A value that represents the name of Deepnet Agent.

-DefaultDomain

A value that represents the Default Domain.

-SSL

Whether SSL is allowed or not.

-DeepnetServer

The server of the second level authentication provider.

-DeepnetPort

The port number of the second level authentication provider.

-TokenType

Token Type (Flash ID, Mobile ID, Grid ID, or Quick ID).

Possible values: MobileID, QuickID

Type reference: TokenType

-Radius

Radius SwitchParameter

-RadiusServer

The server of the second level authentication provider.

-RadiusPort

The port number of the second level authentication provider.

-PasswordEncoding

The type of password encoding to be used.

Possible values: PAP, CHAP, PAP_UTF8, CHAP_UTF8

Type reference: PasswordEncoding

-Retries

Number of retries.

-Timeout

Connection timeout (in seconds).

-DisplayName

RADIUS type name.

-UsernameOnly

Specifies if forwarding of only the Username to RADIUS Server is enabled or not.

-ForwardFirstPwdToAD

Specifies if forwarding of first password to Windows authentication provider is enabled or not.

-BackupServer

The backup server of the second level authentication provider.

-HAMode

The type of high availability mode to be used.

Possible values: Parallel, Serial

Type reference: HAMode

-SecretKey

RADIUS setting. The secret key.

-IgnoreErrors

Specifies the list of Ignored Errors.

This is a DuoRadius only setting.

-AutoConditionsEnabled

Enable or disable the RADIUS Automation Conditions.

-EnforceMessageAuthenticator

Specifies whether to enforce message authenticator from radius server or not.

-Safenet

Safenet SwitchParameter

-SafenetAuthMode

SafeNet Authentication Mode

Possible values: MandatoryForAllUsers, CreateTokenForDomainAuthenticatedUsers, UsersWithSafeNetAcc

Type reference: SafeNetAuthMode

-OTPServiceURL

OTP Service URL

-UserRepository

A value representing User Store

-TMSWebApiURL

The URL of the web service

-TOTP

TOTP SwitchParameter

-UserEnrollment

Use of Enrollment

Possible values: Allow, AllowUntil, DoNotAllow

Type reference: UserEnrollment

-ShowInformationForUnenrolledUsers

Show information for unenrolled users

Possible values: Always, IfEnrollmentIsAllowed, Never

Type reference: ShowInformationForUnenrolledUsers

-UntilDateTime

Allow User Enrollment until date/time

-Tolerance

TOTP tolerance in seconds. Accepted values are 0 (None), 30, 60, 90 and 120

-AuthenticatorAccountName

What to display as an account when registering the TOTP via QR Code

Possible values: SiteFarmName, ThemeName, TOTPDisplayName

Type reference: AuthenticatorAccountName

-EmailOTP

Email OTP SwitchParameter

-OTPLifespanSec

The lifespan of the OTP (seconds)

-ExternalEmailStorage

The storage where the external email is stored

Possible values: RASDatabase, ADMail, ADCustom

Type reference: ExternalEmailStorage

-DefaultEmailContent

If this parameter is included, the email body content will be replaced with the default body content.

-EmailContent

The content of the email. Possible variables: %OTP%, %DURATION%

-DefaultEmailSubject

If this parameter is included, the email subject will be replaced with the default subject.

-EmailSubject

The subject of the email. Possible variables: %OTP%

-DefaultUserMessagePrompt

If this parameter is included, the message prompt will be replaced with the default message prompt.

-UserMessagePrompt

User message prompt

-ADCustomAttribute

AD Custom Attribute

-AllowEnrollExternalEmail

Allow enrollment of external email

-OTPLength

The length of the OTP generated

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

MFA

OUTPUTS

None

Last updated