--- title: "Set-VBOOffice365ConnectionSettings" description: "This cmdlet modifies authentication settings to access Microsoft 365 organizations. You can apply these settings to add Microsoft 365 organizations to the Veeam Backup for Microsoft 365 infrastructure." canonical: "https://helpcenter.veeam.com/docs/vbo365/powershell/set-vbooffice365connectionsettings.html" breadcrumb: "PowerShell Reference > Veeam Backup for Microsoft 365 PowerShell Reference > Organizations Management > Organization Connection Settings > Set-VBOOffice365ConnectionSettings" dateModified: "2026-08-21" --- # Set-VBOOffice365ConnectionSettings ## Short Description Modifies connection settings to access Microsoft 365 organizations. ## Syntax This cmdlet provides the following parameter sets:
ModernAuthWithSecretParameterSet (Default)
BasicAuthParameterSet
ModernAuthWithCertificateParameterSet
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AppCredential |
For the modern authentication type. Specifies credentials. The cmdlet will use these credentials to connect to a Microsoft 365 organization. |
|
False |
Named |
False |
|
ApplicationCertificatePassword |
For the modern authentication type. Specifies the certificate password. The cmdlet will use these credentials to connect to a Microsoft 365 organization. |
|
False |
Named |
False |
|
ApplicationCertificatePath |
For the modern authentication type. Specifies a path to the application certificate. The cmdlet will use this path to get the application certificate and to connect to a Microsoft 365 organization. |
|
False |
Named |
False |
|
ApplicationId |
For the modern authentication type. Specifies an application ID. The cmdlet will use an application ID to connect to a Microsoft 365 organization. |
|
False |
Named |
False |
|
ApplicationSecret |
For the modern authentication type. Specifies an application secret. The cmdlet will use an application secret to connect to a Microsoft 365 organization. |
|
False |
Named |
False |
|
Credential |
Note: This parameter is deprecated. Specifies credentials. The cmdlet will use these credentials to connect to a Microsoft 365 organization. |
|
False |
Named |
False |
|
GrantRolesAndPermissions |
Defines that the cmdlet will grant required permissions and assign appropriate roles to the account. Default: False |
|
False |
Named |
False |
|
Settings |
Specifies the authentication settings that you want to modify. Accepts the To create this object, run the |
True |
Named |
True (ByValue) |
|
|
VeeamAADApplicationUsed |
Defines that the cmdlet will use the Veeam application to connect to Microsoft Graph. Note: You must set this parameter to true for the following Microsoft Entra regions:
Default: False |
|
False |
Named |
False |