Set-VBOOffice365ApplicationOnlyConnectionSettings
Short Description
Modifies Microsoft Entra application settings.
Syntax
This cmdlet provides parameter sets that allow you to:
- Modify Microsoft Entra application settings that was added with a user name of a Microsoft Exchange user.
Set-VBOOffice365ApplicationOnlyConnectionSettings -Settings <VBOApplicationOnlyConnectionSettings> [-ApplicationId <Guid>] [-ApplicationCertificatePath <String>] [-ApplicationCertificatePassword <SecureString>] [-ConfigureApplication] [-SharePointSaveAllWebParts] [<CommonParameters>] |
- Modify Microsoft Entra application settings that was added using Microsoft 365 organization name.
Set-VBOOffice365ApplicationOnlyConnectionSettings -Settings <VBOApplicationOnlyConnectionSettings> [-OfficeOrganizationName <String>] [-ApplicationId <Guid>] [-ApplicationCertificatePath <String>] [-ApplicationCertificatePassword <SecureString>] [-ConfigureApplication] [-SharePointSaveAllWebParts] [<CommonParameters>] |
- Modify Microsoft Entra application settings that was added with application ID and a new application certificate path.
Set-VBOOffice365ApplicationOnlyConnectionSettings -Settings <VBOApplicationOnlyConnectionSettings> [-ImpersonationAccountName <String>] [-ApplicationId <Guid>] [-ApplicationCertificatePath <String>] [-ApplicationCertificatePassword <SecureString>] [-ConfigureApplication] [-SharePointSaveAllWebParts] [<CommonParameters>] |
- Modify Microsoft Entra application settings that was added using a new certificate path.
Set-VBOOffice365ApplicationOnlyConnectionSettings -Settings <VBOApplicationOnlyConnectionSettings> [-ApplicationCertificatePath <String>] [-ApplicationCertificatePassword <SecureString>] [-NewApplicationName <String>] [-SharePointSaveAllWebParts] [<CommonParameters>] |
Detailed Description
This cmdlet modifies Microsoft Entra application settings. 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 |
---|---|---|---|---|---|
Settings | Specifies Microsoft Entra application settings. The cmdlet will modify these settings. | Accepts the VBOApplicationOnlyConnectionSettings object. To create this object, run the New-VBOOffice365ApplicationOnlyConnectionSettings cmdlet. | True | Named | True (ByValue) |
ApplicationId | Specifies a Microsoft Entra application ID. The cmdlet will use this application ID to set up a secure connection to a Microsoft organization. | Guid | 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 an encrypted connection to a Microsoft organization. | String | False | 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. Default: False | SwitchParameter | False | Named | False |
SharePointSaveAllWebParts | Defines that the cmdlet will add SharePoint Web Parts to Microsoft Entra application settings. Default: False | SwitchParameter | False | Named | False |
ImpersonationAccountName | Specifies a user name of a Microsoft Exchange user. The cmdlet will use this user name to authenticate to the Microsoft Exchange server. | String | False | Named | False |
OfficeOrganizationName | Specifies a name of Microsoft 365 organization. The cmdlet will use this name to authenticate to the Microsoft 365 server. | String | False | Named | False |
NewApplicationName | Specifies a name of a new Microsoft Entra application. The cmdlet will define settings of the Microsoft Entra application with this name. | String | False | 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 VBOApplicationOnlyConnectionSettings object that defines Microsoft Entra application settings.
Examples
Example 1. Modifying Microsoft Exchange User Name of Microsoft Entra Application Settings
This example shows how to modify a user name of a Microsoft Exchange user added to Microsoft Entra application settings. The cmdlet will replace the Office365Admin@tech-365.tech user name with the Administratortech@tech-365.tech user name.
Perform the following steps:
|
Example 2. Modifying Microsoft 365 Organization Name of Microsoft Entra Application Settings
This example shows how to define a name of the Microsoft 365 organization added to Microsoft Entra application settings. The cmdlet will replace the @admin-365.tech organization name with the Administrator-365.tech organization name.
Perform the following steps:
|
Related Commands