Add-VBREntraIDTenant
Short Description
Adds a Microsoft Entra ID tenant to the backup infrastructure.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
SecretKeyAdd-VBREntraIDTenant [-Region <VBRAzureBlobRegionType>] [-Description <String>] -TenantId <String>
-ApplicationId <String> -SecretKey <SecureString> -CacheRepository <CBackupRepository>
[-ProtectedScope <VBREntraIDTenantProtectedScope[]>] [<CommonParameters>]
-
CertificateAdd-VBREntraIDTenant [-Region <VBRAzureBlobRegionType>] [-Description <String>] -TenantId <String>
-ApplicationId <String> -CertificatePath <String> [-Password <SecureString>]
-CacheRepository <CBackupRepository> [-ProtectedScope <VBREntraIDTenantProtectedScope[]>] [<CommonParameters>]
Detailed Description
This cmdlet adds a tenant to the backup infrastructure.
Note |
|
To add a tenant, you need an application already created in Entra ID. If you want to create an application automatically, add the tenant using the UI. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ApplicationId |
Specifies the ID of an application. The cmdlet will use this application to access Entra ID resources. |
|
True |
Named |
False |
|
CacheRepository |
Specifies a cache repository. The cmdlet will use this repository to store temporary cache files for log processing.
Accepts the |
|
True |
Named |
False |
|
CertificatePath |
For the certificate-based authentication. Specifies the path to the certificate. The cmdlet will use this certificate to authenticate to Entra ID. |
|
True |
Named |
False |
|
Description |
Specifies the description for the tenant that you want to add. |
|
False |
Named |
False |
|
Password |
For the certificate-based authentication. Specifies the password that the cmdlet will use to authenticate to Entra ID. |
|
False |
Named |
False |
|
ProtectedScope |
Specifies the tenant protection scope. Note: If you do not specify this parameter, the following tenant resources will be protected by default:
Accepts the |
False |
Named |
False |
|
|
Region |
Specifies the region type where the tenant is located. |
|
False |
Named |
False |
|
SecretKey |
For the password-based authentication. Specifies an application secret. The cmdlet will use this secret to authenticate to Entra ID. |
|
True |
Named |
False |
|
TenantId |
Specifies the ID of the tenant which you want to add to the backup infrastructure. The cmdlet will search for the application within this tenant. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBREntraIdTenant object that contains settings of the added tenant.
Examples
Example 1. Adding Tenant Using Password-Based Authentication
|
This example shows how to add an Entra ID tenant using the password-based authentication.
Perform the following steps:
|
Example 2. Adding Tenant Using Certificate-Based Authentication
|
This example shows how to add an Entra ID tenant using the certificate-based authentication.
Perform the following steps:
|
Related Commands
Get-VBRBackupRepositoryReturns a list of backup repositories.New-VBREntraIDTenantProtectedScopeSpecifies the tenant protection scope.