Set-VBOAzureServiceAccount
Short Description
Modifies Microsoft Azure service account settings.
Syntax
This cmdlet provides parameter sets that allow you to:
- Change the Microsoft Azure service account description.
Set-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> [-Description <string>] [<CommonParameters>] |
- Change the Microsoft Azure service account settings when using the application certificate.
Set-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> -ApplicationCertificatePath <string> [-ApplicationCertificatePassword <securestring>] [-Description <string>] [<CommonParameters>] |
- Change the Microsoft Azure service account settings when using the application secret.
Set-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> -ApplicationSecret <securestring> [-Description <string>] [<CommonParameters>] |
- Change the Azure AD application settings.
Set-VBOAzureServiceAccount -Account <VBOAzureServiceAccount> -ApplicationCertificatePath <string> -ConfigureApplication [-ApplicationCertificatePassword <securestring>] [-Description <string>] [-SubscriptionIds <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 | Accept Wildcard Characters |
---|---|---|---|---|---|---|
Account | Specifies a Microsoft Azure service account whose settings you want to modify. | Accepts the VBOAzureServiceAccount object. To get this object, run the Get-VBOAzureServiceAccount cmdlet. | True | Named | True (ByValue) | False |
ApplicationCertificatePassword | Specifies the certificate password. The cmdlet will use this password to confirm the certificate that you want to import to an Azure AD application. | SecureString | False | Named | False | 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 | 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 | False |
ConfigureApplication | Defines that the cmdlet will configure settings of an existing Azure AD application: grant the required permissions and register the specified certificate in Azure Active Directory. | SwitchParameter | True | Named | False | False |
Description | Specifies a description of Microsoft Azure service account. The cmdlet will replace the current description with the specified description. | String | False | Named | False | False |
SubscriptionIds | Specifies an array of subscriptions associated with a user account that was used to sign in to Microsoft Azure. | String[] | False | Named | False | 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. Modifying Azure AD Application Certificate Path and Password
This example shows how to modify a certificate path and password of an Azure AD application associated with the Microsoft Azure service account.
Perform the following steps:
|
Example 2. Modifying Azure AD Application Settings
This example shows how to modify settings of the Azure AD application associated with the Microsoft Azure service account.
Perform the following steps:
|
Related Commands