Add-VBOOrganization
Short Description
Adds Microsoft organizations to the Veeam Backup for Microsoft 365 infrastructure.
Syntax
|
Add-VBOOrganization [-Name <String>] [-Description <String>] [-Office365ExchangeConnectionsSettings <VBOOffice365ConnectionSettings>] [-Office365SharePointConnectionsSettings <VBOOffice365ConnectionSettings>] [-OnPremExchangeConnectionSettings <VBOExchangeOnPremConnectionSettings>] [-OnPremSharePointConnectionSettings <VBOSharePointOnPremConnectionSettings>] [-Region <VBOOffice365Region>] [-VeeamAADApplicationUsed] [-EnableOffice365Teams] [-EnableTeamsChats] [<CommonParameters>] |
Detailed Description
This cmdlet adds Microsoft organizations to the Veeam Backup for Microsoft 365 infrastructure. You can add the following types of Microsoft organizations:
- Microsoft 365 organizations to back up Microsoft Exchange Online and Microsoft SharePoint Online with Microsoft OneDrive (work/school).
- On-premises Microsoft organizations to back up a Microsoft Exchange server and a Microsoft SharePoint server.
- Hybrid organizations to back up both Microsoft 365 organizations and On-premises Microsoft organizations.
For more information on Hybrid types of organizations, see the Adding Hybrid Organizations section of the Veeam Backup for Microsoft 365 User Guide.
When you add Microsoft organizations to the Veeam Backup for Microsoft 365 infrastructure, you can specify one of the following authentication methods that the cmdlet will use to connect to a Microsoft server:
- Modern app-only authentication. This type of authentication utilizes a Microsoft Entra application. Run the
New-VBOOffice365ApplicationOnlyConnectionSettingsDefines Microsoft Entra application settings. cmdlet to define Microsoft Entra application settings. - Modern authentication with legacy protocols allowed. Run the
New-VBOOffice365ConnectionSettingsDefines connection settings to access Microsoft 365 organizations. cmdlet to define connection settings with legacy authentication protocols. - Basic authentication. Run the
New-VBOOffice365ConnectionSettingsDefines connection settings to access Microsoft 365 organizations. cmdlet to define connection settings with legacy authentication protocols.
Important |
|
Since Microsoft deprecated basic authentication and legacy authentication protocols, adding Microsoft organizations using these authentication methods will be deprecated in future versions of Veeam Backup for Microsoft 365. |
If you want to add Microsoft 365 organizations that will include both Microsoft Exchange Online and Microsoft SharePoint Online with Microsoft OneDrive services, you must set the VBOOffice365ConnectionSettings object that contains authentication settings to connect to Microsoft 365 organizations, to the same type of authentication mode.
Run the New-VBOOffice365ConnectionSettingsDefines connection settings to access Microsoft 365 organizations. cmdlet to create the VBOOffice365ConnectionSettings object.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Description |
Specifies a description of the Microsoft organization. |
|
False |
Named |
False |
|
EnableOffice365Teams |
Defines that the cmdlet will add Microsoft Teams to Veeam Backup for Microsoft 365. To do this, the cmdlet will use settings specified with the Default: True
Note: If you want to use this parameter, you must also provide the |
|
False |
Named |
False |
|
EnableTeamsChats |
For Microsoft organizations with modern app-only authentication. Defines that the cmdlet will enable backup of team posts (formerly team chats). Default: False |
|
False |
Named |
False |
|
Name |
Specifies a name of the Microsoft organization. The cmdlet will add an organization with this name. |
|
False |
Named |
False |
|
Office365ExchangeConnectionsSettings |
Specifies connection settings. The cmdlet will use these settings to add Microsoft Exchange Online to Veeam Backup for Microsoft 365.
Note: If you also want to add Microsoft SharePoint Online to the same Microsoft 365 organization, you must set the
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
Office365SharePointConnectionsSettings |
Specifies connection settings. The cmdlet will use these settings to add Microsoft SharePoint Online and Microsoft OneDrive to Veeam Backup for Microsoft 365.
Note: If you also want to run the cmdlet with the
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
OnPremExchangeConnectionSettings |
Specifies connection settings. The cmdlet will use these settings to add Microsoft on-premises Exchange organization to Veeam Backup for Microsoft 365.
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
OnPremSharePointConnectionSettings |
Specifies connection settings. The cmdlet will use these settings to add Microsoft on-premises SharePoint organization to Veeam Backup for Microsoft 365.
Accepts the
To create this object, run the |
False |
Named |
False |
|
|
Region |
Specifies Microsoft Entra region where Microsoft 365 organization datacenter is located:
Default: Worldwide |
|
False |
Named |
False |
|
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 |
<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 VBOOrganization object that contains settings of a Microsoft organization added to the Veeam Backup for Microsoft 365 infrastructure.
Examples
Example 1: Adding Microsoft Organization to Back Up Several Microsoft Services
|
This example shows how to add a Microsoft organization to the Veeam Backup for Microsoft 365 infrastructure to back up the following services:
Perform the following steps:
|
Example 2: Adding Microsoft Organization Together with Defining Microsoft Entra Application Using Certificate
|
This example shows how to add a Microsoft organization to the Veeam Backup for Microsoft 365 infrastructure and define settings of a Microsoft Entra application using the certificate.
Perform the following steps:
|
Example 3: Adding Microsoft Organization to Back Up SharePoint Online
|
This example shows how to add a Microsoft organization to the Veeam Backup for Microsoft 365 infrastructure.
Perform the following steps:
|
Example 4: Adding Microsoft Organization to Back Up Exchange Online
|
This example shows how to add a Microsoft organization to the Veeam Backup for Microsoft 365 infrastructure. Veeam Backup for Microsoft 365 will back up Microsoft Exchange Online.
Perform the following steps:
|
Example 5: Adding Microsoft Organization to Back Up Several Microsoft Services
|
This example shows how to add a Microsoft organization to the Veeam Backup for Microsoft 365 infrastructure to back up the following services:
Perform the following steps:
|
Example 6: Adding On-Premises Microsoft Organizations to Back Up Microsoft Exchange Server
|
This example shows how to add an on-premises Microsoft organization to back up Microsoft Exchange server.
Perform the following steps:
|
Related Commands
Get-CredentialRead-HostNew-VBOOffice365ApplicationOnlyConnectionSettingsDefines Microsoft Entra application settings.New-VBOOffice365ConnectionSettingsDefines connection settings to access Microsoft 365 organizations.New-VBOOnPremConnectionSettingsDefines connection settings to access on-premises Microsoft organizations.