Add-VBOAzureServiceAccount
Short Description
Creates Microsoft Azure service accounts that are required to use the Azure archiver appliance when transferring backed-up data between different instances of Azure Blob Storage or to Azure Blob Storage Archive.
Syntax
This cmdlet provides parameter sets that allow you to:
- Use an existing Microsoft Entra application and authenticate to Microsoft 365 with an application certificate.
Add-VBOAzureServiceAccount -Region <VBOAzureRegionType> -TenantId <String> -ApplicationId <Guid> -ApplicationCertificatePath <String> [-ApplicationCertificatePassword <SecureString>] [-ConfigureApplication] [-Description <String>] [-SubscriptionIds <String[]>] [<CommonParameters>] |
- Register a new Microsoft Entra application in Microsoft Entra ID.
Add-VBOAzureServiceAccount -Region <VBOAzureRegionType> [-TenantId <String>] -ApplicationName <String> -ApplicationCertificatePath <String> [-ApplicationCertificatePassword <SecureString>] [-Description <String>] -SubscriptionIds <String[]> [<CommonParameters>] |
- Use an existing Microsoft Entra application and authenticate to Microsoft 365 with an application secret.
Add-VBOAzureServiceAccount -Region <VBOAzureRegionType> -TenantId <String> -ApplicationId <Guid> -ApplicationSecret <SecureString> [-ConfigureApplication] [-Description <String>] [-SubscriptionIds <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBOAzureServiceAccount object. This object contains details of the Microsoft Azure service account that is required to use the Azure archiver appliance when transferring backed-up data between different instances of Azure Blob Storage or to Azure Blob Storage Archive.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Region | Specifies a Microsoft Entra region. You can select the following types of region:
| VBOAzureRegionType | True | Named | False |
TenantId | Specifies an ID of the Microsoft 365 organization in Microsoft Entra. | String | True | Named | False |
ApplicationId | Specifies a Microsoft Entra application ID. The cmdlet will use this application ID to set up a secure connection to Microsoft 365 organization. | Guid | True | Named | False |
ApplicationCertificatePath | Specifies a path to the folder where the certificate is located. The cmdlet will import the certificate that is located in this path to set up a secure connection to Microsoft 365 organization. | String | True | Named | False |
ApplicationCertificatePassword | Specifies the certificate password. The cmdlet will use this password to confirm the certificate that you want to import to a Microsoft Entra application. | SecureString | False | Named | False |
ConfigureApplication | Defines that the cmdlet will configure settings of an existing Microsoft Entra application: grant the required permissions and register the specified certificate in Microsoft Entra ID. Default: False | SwitchParameter | False | Named | False |
Description | Specifies a description of Microsoft Azure service account. The default description contains information on the user who created the Microsoft Azure service account, date and time when the Microsoft Azure service account was created. | String | False | Named | False |
SubscriptionIds | Specifies an array of subscriptions associated with a user account that was used to sign in to Microsoft Entra. | String[] | False | Named | False |
ApplicationName | Specifies a name of a new Microsoft Entra application. The cmdlet will register a Microsoft Entra application with this name in Microsoft Entra ID. | String | True | Named | False |
ApplicationSecret | Specifies an application secret. The cmdlet will use an application secret to set up a secure connection to Microsoft 365 organization. | SecureString | True | Named | 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
The cmdlet returns the VBOAzureServiceAccount object that contains Microsoft Azure service account details.
Examples
Example 1. Creating Microsoft Azure Service Account Through Registering New Microsoft Entra Application
This example shows how to create a Microsoft Azure service account through registering a new Microsoft Entra application. The cmdlet will add the application to Microsoft Entra ID, grant the required permissions and register the specified certificate.
Perform the following steps:
|
Example 2. Creating Microsoft Azure Service Account Through Using Existing Microsoft Entra Application with Application Certificate
This example shows how to create a Microsoft Azure service account through using the existing Microsoft Entra application and authenticate to Microsoft 365 with an application certificate, grant the required permissions to Microsoft Entra application and register the specified certificate in Microsoft Entra ID.
Perform the following steps:
|
Example 3. Creating Microsoft Azure Service Account Through Using Existing Microsoft Entra Application with Application Secret
This example shows how to create a Microsoft Azure service account through using the existing Microsoft Entra application and authenticate to Microsoft 365 with an application secret, grant the required permissions to Microsoft Entra application and register the application certificate in Microsoft Entra ID.
Perform the following steps:
|
Related Commands