--- title: "Remove-VBOAmazonS3Account" description: "This cmdlet removes Amazon S3 storage account credentials from Veeam Backup for Microsoft 365." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/remove-vboamazons3account.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Backup Infrastructure > Amazon Storage Settings > Amazon S3 Accounts > Remove-VBOAmazonS3Account" dateModified: "2026-08-21" --- # Remove-VBOAmazonS3Account ## Short Description Removes Amazon S3 storage account credentials from Veeam Backup for Microsoft 365. ## Syntax ``` Remove-VBOAmazonS3Account -Account [-WhatIf] [-Confirm] [] ``` ## Detailed Description This cmdlet removes Amazon S3 storage account credentials from Veeam Backup for Microsoft 365. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Account

Specifies Amazon S3 storage account credentials that you want to remove.

Accepts the VBOAmazonS3Account object.

To get this object, run the Get-VBOAmazonS3Account cmdlet.

VBOAmazonS3Account

True

Named

True (ByValue)

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

Default: True

SwitchParameter

False

Named

False

WhatIf

Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

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. ## Examples ::: example ### Example 1: Removing Amazon S3 Storage Account Credentials This example shows how to remove Amazon S3 storage account credentials. ``` $account = Get-VBOAmazonS3Account -Id 1dfc5af0-2605-47ac-94d8-13dea4d14608 Remove-VBOAmazonS3Account -Account $account ``` Perform the following steps: 1. Run the [`Get-VBOAmazonS3Account`](get-vboamazons3account.md) cmdlet. Specify the `Id` parameter value. Save the result to the `$account` variable. 2. Run the `Remove-VBOAmazonS3Account` cmdlet. Set the `$account` variable as the `Account` parameter value. ::: ::: example ### Example 2: Removing Amazon S3 Storage Account Credentials (Using Pipeline) This example shows how to remove Amazon S3 storage account credentials. ``` Get-VBOAmazonS3Account | Remove-VBOAmazonS3Account ``` Perform the following steps: 1. Run the [`Get-VBOAmazonS3Account`](get-vboamazons3account.md) cmdlet. 2. Pipe the cmdlet output to the `Remove-VBOAmazonS3Account` cmdlet. ::: ## Related Commands [`Get-VBOAmazonS3Account`](get-vboamazons3account.md)