--- title: "Set-VBOTenantAuthenticationSettings" description: "This cmdlet modifies tenant authentication settings configured for Veeam Backup for Microsoft 365. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/set-vbotenantauthenticationsettings.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Tenant Authentication Settings > Set-VBOTenantAuthenticationSettings" dateModified: "2026-08-21" --- # Set-VBOTenantAuthenticationSettings ## Short Description Modifies the Veeam Backup for Microsoft 365 tenant authentication settings. ## Syntax ``` Set-VBOTenantAuthenticationSettings [-EnableAuthentication] [-CertificateFilePath ] [-CertificatePassword ] [] ``` ## Detailed Description This cmdlet modifies tenant authentication settings configured for Veeam Backup for Microsoft 365. 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 tenant authentication certificate file.

String

False

Named

False

CertificatePassword

Specifies a password for the tenant authentication certificate.

SecureString

False

Named

False

EnableAuthentication

Defines that the cmdlet will enable tenant authentication to the Veeam Backup for Microsoft 365 server with organization credentials.

Default: False

SwitchParameter

False

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Output Object The cmdlet returns the [`VBOTenantAuthenticationSettings`](vbotenantauthenticationsettings.md) object that contains the Veeam Backup for Microsoft 365 tenant authentication settings. ## Examples ::: example ### Modifying Tenant Authentication Settings This example shows how to modify tenant authentication settings. ``` $plainpassword = "Password1234plain" $securepassword = $plainpassword | ConvertTo-SecureString -AsPlainText -Force Set-VBOTenantAuthenticationSettings -EnableAuthentication -CertificateFilePath "C:\cert.pfx" -CertificatePassword $securepassword ``` Perform the following steps: 1. Assign your certificate password to the `$plainpassword` variable. 2. Run the [`ConvertTo-SecureString`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/convertto-securestring) cmdlet with the `$plainpassword` variable to turn the password into the `SecureString` type. Save the result to the `$securepassword` variable. 3. Run the `Set-VBOTenantAuthenticationSettings` cmdlet with the `$securepassword` variable and `EnableAuthentication` parameter. ::: ## Related Commands [``ConvertTo-SecureString``](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.security/convertto-securestring)