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 for Business.
- 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-VBOOffice365ApplicationOnlyConnectionSettings cmdlet to define Microsoft Entra application settings.
- Modern authentication with legacy protocols allowed. Run the New-VBOOffice365ConnectionSettings cmdlet to define connection settings with legacy authentication protocols.
- Basic authentication. Run the New-VBOOffice365ConnectionSettings 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 for Business 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-VBOOffice365ConnectionSettings cmdlet to create the VBOOffice365ConnectionSettings object.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Name | Specifies a name of the Microsoft organization. The cmdlet will add an organization with this name. | String | False | Named | False |
Description | Specifies a description of the Microsoft organization. | String | 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 VBOOffice365ConnectionSettings object to the same type of authentication mode. | Accepts the VBOOffice365ConnectionSettings object. To create this object, run the New-VBOOffice365ConnectionSettings cmdlet. | False | Named | False |
Office365SharePointConnectionsSettings | Specifies connection settings. The cmdlet will use these settings to add Microsoft SharePoint Online and Microsoft OneDrive for Business to Veeam Backup for Microsoft 365. Note: If you also want to run the cmdlet with the Office365ExchangeConnectionsSettings parameter, you must set the VBOOffice365ConnectionSettings object to the same type of authentication mode. | Accepts the VBOOffice365ConnectionSettings object. To create this object, run the New-VBOOffice365ConnectionSettings cmdlet. | 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 VBOExchangeOnPremConnectionSettings object. To create this object, run the New-VBOOnPremConnectionSettings cmdlet. | 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 VBOSharePointOnPremConnectionSettings object. To create this object, run the New-VBOOnPremConnectionSettings cmdlet. | False | Named | False |
Region | Specifies Microsoft Entra region where Microsoft 365 organization datacenter is located:
Default: Worldwide | VBOOffice365Region | 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 | SwitchParameter | 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 Office365SharePointConnectionsSettings parameter. Default: False Note: If you want to use this parameter, you must also provide the Office365ExchangeConnectionsSettings and Office365SharePointConnectionsSettings parameters. | SwitchParameter | False | Named | False |
EnableTeamsChats | For Microsoft organizations with modern app-only authentication. Defines that the cmdlet will enable backup of team chats. Default: False | SwitchParameter | 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 VBOOrganization object that contains settings of a Microsoft organization added to the Veeam Backup for Microsoft 365 infrastructure.
Examples for Modern App-Only Authentication
These examples provide instructions on adding Microsoft organizations to the Veeam Backup for Microsoft 365 infrastructure using the modern app-only authentication method.
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:
|
Examples for Modern Authentication and Legacy Protocols
These examples provide instructions on adding Microsoft organizations to the Veeam Backup for Microsoft 365 infrastructure using modern authentication with legacy protocols allowed.
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