Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

Add-VBRAzureAccount

Short Description

Adds Microsoft Azure accounts to Veeam Backup & Replication.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides the following parameter sets:

  • To add the Microsoft Azure account

Add-VBRAzureAccount [-Region <VBRAzureRegionType> {Global | Germany | China | Government}][-AzureCredentials <CCredentials>]  [<CommonParameters>]

  • To add Microsoft Azure stack account

Add-VBRAzureAccount -AzureCredentials <CCredentials> -ResourceManagerEndpoint <string>  [<CommonParameters>]

Detailed Description

This cmdlet adds a Microsoft Azure account to the Veeam Backup & Replication managing console. You can add the following types of the accounts:

  • Microsoft Azure account
  • Microsoft Azure stack account

The cmdlet will open a Microsoft Azure wizard. Follow the steps of the wizard to add the account.

Add-VBRAzureAccount Note:

This cmdlet does not create Microsoft Azure account. You must set up the Microsoft Azure account beforehand.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

ResourceManager
Endpoint

To connect to Microsoft Azure stack.

Specifies the path to the Azure Stack resource management endpoint. Veeam Backup & Replication will use this path to connect to Microsoft Azure stack.

True

Named

False

 

Region

Specifies the region type of the Microsoft Azure account. You can select the following types of regions:

  • Global
  • Germany
  • Government
  • China

False

Named

False

 

AzureCredentials

Specifies the credentials. Veeam Backup & Replication will use these credentials to connect to Microsoft Azure.

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRAzureAccount

Example 1

This example shows how to add the Microsoft Azure account into your Veeam Backup & Replication infrastructure.

  1. Run Get-VBRCredentials to get Microsoft Azure credentials records. Save the result to the $creds variable.
  2. Run Add-VBRAzureAccount with the $creds variable. Use the Region parameter to specify the region type.

PS C:\PS> $creds = Get-VBRCredentials -Name "Microsoft Azure"

PS C:\PS> Add-VBRAzureAccount -Region Global -AzureCredentials $creds

Example 2

This example shows how to add the Microsoft Azure stack account into your Veeam Backup & Replication infrastructure.

  1. Run Get-VBRCredentials to get Microsoft Azure credentials records. Save the result to the $creds variable.
  2. Run Add-VBRAzureAccount with the $creds variable. Use the ResourceManagerEndpoint parameter to specify the Azure Stack resource management endpoint.

PS C:\PS> $creds = Get-VBRCredentials -Name "Microsoft Azure Stack"

PS C:\PS> Add-VBRAzureAccount -ResourceManagerEndpoint "management.local.veeamstack.external" -AzureCredentials $creds

Related Commands

Get-VBRCredentials

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation