Skip to main content
SnapCenter 4.7 cmdlets

Set-SmMultiFactorAuthentication

Contributors

To Enable or disable the MFA feature or to configure the MFA for the SnapCenter Server login.

Syntax

Set-SmMultiFactorAuthentication [-Enable]  <>  [-Path]  <>  [-Path]  <>  [-Disable]  <>

Detailed Description

To enable or disable the MFA feature or to configure the MFA for the SnapCenter Server login.

Parameters

Name Description Required? Pipeline Input Default Value

Enable

Specifies the SnapCenter Server to enable MFA for the SnapCenter Server login.

false

false

Path

Configure the MFA for the SnapCenter Server login with specified AD FS metadata file path.

false

false

Disable

Specifies the SnapCenter Server to disable MFA for the SnapCenter server login.

false

false

Examples

Example 1: Enabling MultiFactorAuthentication

 Set-SmMultiFactorAuthentication -Enable -Path C:\ADFS_metadata\FederationMetadata.xml

This example syntax enables MFA for SnapCenter Server login configured with specified AD FS metadata file path.

ISMFAEnabled = True

ADFSHostName = adfs19.ad19domain.com

ADFSConfigFilePath = C:\\ADFS_metadata\\FederationMetadata.xml

SCConfigFilePath = c:\ProgramData\NetApp\SnapCenter\Package Repository\SnapCenterMFAMetadata.xml

Example 2: Disabling MultiFactorAuthentication

 Set-SmMultiFactorAuthentication -Disable

This example syntax disables MFA for SnapCenter Server login.

ISMFAEnabled = False

ADFSHostName =

ADFSConfigFilePath =

SCConfigFilePath =

Example 3: Update MultiFactorAuthentication configuration

 Set-SmMultiFactorAuthentication -Path C:\ADFS_metadata\FederationMetadata.xml

This example syntax updates MFA configuration for SnapCenter Server login configured with specified AD FS metadata file path.

ISMFAEnabled = True

ADFSHostName = adfs19.ad19domain.com

ADFSConfigFilePath = C:\ADFS_metadata\FederationMetadata.xml

SCConfigFilePath =