Remove-VBOAzureServiceAccount

Short Description

Removes Microsoft Azure Blob service accounts.

Syntax

Remove-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet removes the specified Microsoft Azure Blob service account from Veeam Backup for Microsoft 365. After removing the service account, Veeam Backup for Microsoft 365 will not be able to use the Azure archiver appliance when transferring backed-up data from Azure Blob storage to Azure Archive storage.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Account

Specifies a Microsoft Azure service account that you want to remove.

Accepts the VBOAzureServiceAccount object.

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

True

Named

True (ByValue)

False

WhatIf

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

SwitchParameter

False

Named

False

False

Confirm

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

SwitchParameter

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

None.

Examples

Remove-VBOAzureServiceAccountExample 1. Removing Microsoft Azure Service Account

This example shows how to remove the specified Microsoft Azure service account.

$account = Get-VBOAzureServiceAccount -Name "Archiver Appliance App"

Remove-VBOAzureServiceAccount -Account $account

Perform the following steps:

  1. Run the Get-VBOAzureServiceAccount cmdlet. Specify the Name parameter value. Save the result to the $account variable.
  2. Run the Remove-VBOAzureServiceAccount cmdlet. Set the $account variable as the Account parameter value.

Remove-VBOAzureServiceAccountExample 2. Removing Microsoft Azure Service Accounts (Using Pipeline)

This command removes Microsoft Azure Blob service accounts.

Get-VBOAzureServiceAccount | Remove-VBOAzureServiceAccount

Perform the following steps:

  1. Run the Get-VBOAzureServiceAccount cmdlet.
  2. Pipe the cmdlet output to the Remove-VBOAzureServiceAccount cmdlet.

Related Commands

Get-VBOAzureServiceAccount