Set-VBOAzureServiceAccount
Short Description
Modifies Microsoft Azure service account settings.
Syntax
This cmdlet provides the following parameter sets:
-
DefaultParameterSet (Default)Set-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> [-Description <String>] [<CommonParameters>]
-
ParameterSetWithCertificateSet-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> -ApplicationCertificatePath <String>
[-ApplicationCertificatePassword <SecureString>] [-Description <String>] [<CommonParameters>]
-
ParameterSetConfigureApplicationSet-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> -ApplicationCertificatePath <String>
[-ApplicationCertificatePassword <SecureString>] [-ConfigureApplication] [-Description <String>]
[-SubscriptionIds <String[]>] [<CommonParameters>]
-
ParameterSetWithSecretSet-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> -ApplicationSecret <SecureString>
[-Description <String>] [<CommonParameters>]
Detailed Description
This cmdlet modifies settings for the specified Microsoft Azure service account. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Account |
Specifies a Microsoft Azure service account whose settings you want to modify.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
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 |
|
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 |
|
True |
Named |
False |
|
Description |
Specifies a description of Microsoft Azure service account. The cmdlet will replace the current description with the specified description. |
|
False |
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 |
<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: Modifying Microsoft Entra Application Certificate Path and Password
|
This example shows how to modify a certificate path and password of a Microsoft Entra application associated with the Microsoft Azure service account.
Perform the following steps:
|
Example 2: Modifying Microsoft Entra Application Settings
|
This example shows how to modify settings of the Microsoft Entra application associated with the Microsoft Azure service account.
Perform the following steps:
|
Related Commands
Read-HostGet-VBOAzureServiceAccountReturns Microsoft Azure service account details.