New-RASMFA
SYNOPSIS
Creates a new Multi Factor Authentication.
SYNTAX
New-RASMFA [-Name] <string> [[-SiteId] <uint>] -Deepnet <SwitchParameter> -DeepnetAgent <string>
-DeepnetPort <uint> -DeepnetServer <string> [-ActivateEmail <bool>] [-ActivateSMS <bool>]
[-App <string>] [-AppID <string>]
[-AuthMode {MandatoryForAllUsers | CreateTokenForDomainAuthenticatedUsers | UsersWithDeepnetAcc}]
[-DefaultDomain <string>] [-Description <string>] [-Enabled <bool>] [-SSL <bool>]
[-TokenType {MobileID | QuickID}] [<CommonParameters>]New-RASMFA [-Name] <string> [[-SiteId] <uint>] -DisplayName <string> -EmailOTP <SwitchParameter>
[-ADCustomAttribute <string>] [-AllowEnrollExternalEmail <bool>] [-Description <string>]
[-EmailContent <string>] [-EmailSubject <string>] [-Enabled <bool>]
[-ExternalEmailStorage {RASDatabase | ADMail | ADCustom}] [-OTPLength <uint>]
[-OTPLifespanSec <uint>]
[-ShowInformationForUnenrolledUsers {Always | IfEnrollmentIsAllowed | Never}]
[-UntilDateTime <DateTime>] [-UserEnrollment {Allow | AllowUntil | DoNotAllow}]
[-UserMessagePrompt <string>] [<CommonParameters>]New-RASMFA [-Name] <string> [[-SiteId] <uint>] -DisplayName <string> -Radius <SwitchParameter>
-RadiusPort <uint> -RadiusServer <string> -Retries <uint> -SecretKey <SecureString> -Timeout <uint>
[-BackupServer <string>] [-Description <string>] [-Enabled <bool>]
[-EnforceMessageAuthenticator <bool>] [-ForwardFirstPwdToAD <bool>] [-HAMode {Parallel | Serial}]
[-PasswordEncoding {PAP | CHAP | PAP_UTF8 | CHAP_UTF8}]
[-RadiusType {Radius | AzureRadius | DuoRadius | FortiRadius | TekRadius}]
[-UserMessagePrompt <string>] [-UsernameOnly <bool>] [<CommonParameters>]DESCRIPTION
Creates a new Multi Factor Authentication.
EXAMPLES
Example 1
Creates a new Multi Factor Authentication with the specified name.
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.
-Description
A user-defined Multi Factor Authentication description.
-Enabled
Enable or disable the Multi Factor Authentication upon creation.
If the parameter is omitted, the Multi Factor Authentication is initialised as Disabled.
-Deepnet
-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 (Mobile ID or Quick ID).
Possible values: MobileID, QuickID
Type reference: TokenType
-Radius
Radius SwitchParameter
-RadiusType
RADIUS Type
Possible values: Radius, AzureRadius, DuoRadius, FortiRadius, TekRadius
Type reference: RadiusType
-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.
-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
-TOTPType
TOTP Type
Possible values: GAuthTOTP, TOTP, MicrosoftTOTP
Type reference: TOTPType
-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
-EmailContent
The content of the email. Possible variables: %OTP%, %DURATION%
-EmailSubject
The subject of the email. Possible variables: %OTP%
-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
None
OUTPUTS
MFADeepnet MFAEmailOTP MFARadius MFASafenet MFATOTP
RELATED LINKS
Last updated