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 the following parameter sets:
-
ParameterSetWithCertificate (Default)Add-VBOAzureServiceAccount -Region <VBOAzureRegionType> -TenantId <String> -ApplicationId <Guid>
-ApplicationCertificatePath <String> [-ApplicationCertificatePassword <SecureString>] [-ConfigureApplication]
[-Description <String>] [-SubscriptionIds <String[]>] [<CommonParameters>]
-
RegisterApplicationParameterSetAdd-VBOAzureServiceAccount -Region <VBOAzureRegionType> [-TenantId <String>] -ApplicationName <String>
-ApplicationCertificatePath <String> [-ApplicationCertificatePassword <SecureString>] [-Description <String>]
-SubscriptionIds <String[]> [<CommonParameters>]
-
ParameterSetWithSecretAdd-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 |
|---|---|---|---|---|---|
|
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. |
|
False |
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. |
|
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. |
|
True |
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. |
|
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. |
|
True |
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 |
|
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. |
|
False |
Named |
False |
|
Region |
Specifies a Microsoft Entra region. You can select the following types of region:
|
|
True |
Named |
False |
|
SubscriptionIds |
Specifies an array of subscriptions associated with a user account that was used to sign in to Microsoft Entra. |
|
False |
Named |
False |
|
TenantId |
Specifies an ID of the Microsoft 365 organization in Microsoft Entra. |
|
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
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