Set-VBOOperatorAuthenticationSettings
Short Description
Modifies restore operator authentication settings.
Syntax
|
Set-VBOOperatorAuthenticationSettings [-EnableAuthentication] [-CertificateFilePath <String>] [-CertificatePassword <SecureString>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies restore operator authentication settings. These settings specify whether restore operators are allowed to authenticate to the Veeam Backup for Microsoft 365 server with Microsoft 365 credentials and a TLS certificate used to establish connection with the Veeam Backup for Microsoft 365 server.
To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Note |
|
This cmdlet accepts the SecureString type. Use Microsoft PowerShell standard capabilities to convert your password into the SecureString. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CertificateFilePath |
Specifies a path to the TLS certificate file. |
|
False |
Named |
False |
|
CertificatePassword |
Specifies a password for the TLS certificate. |
|
False |
Named |
False |
|
EnableAuthentication |
Defines that the cmdlet will enable restore operator authentication to the Veeam Backup for Microsoft 365 server with Microsoft 365 credentials. Default: False |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Installing New TLS Certificate to Authenticate Restore Operators
This example shows how to modify restore operator authentication settings, that is, install a new TLS certificate to be used by restore operators to establish connection with the Veeam Backup for Microsoft 365 server.
|
$plainpassword = "Password1234plain" $securepassword = $plainpassword | ConvertTo-SecureString -AsPlainText -Force Set-VBOOperatorAuthenticationSettings -EnableAuthentication -CertificateFilePath "C:\cert.pfx" -CertificatePassword $securepassword |
Perform the following steps:
- Assign your certificate password to the
$plainpasswordvariable. - Run the
ConvertTo-SecureStringcmdlet with the$plainpasswordvariable to set the password to theSecureStringtype. Save the result to the$securepasswordvariable. - Run the
Set-VBOOperatorAuthenticationSettingscmdlet. Specify the following settings:- Provide the
EnableAuthenticationparameter. - Specify the
CertificateFilePathparameter value. - Set the
$securepasswordvariable as theCertificatePasswordparameter value.
- Provide the
Related Commands