Add-VBOOrganization
Short Description
Adds Microsoft organizations to the Veeam Backup for Microsoft Office 365 infrastructure.
Syntax
Add-VBOOrganization [-Name <string>] [-Office365ExchangeConnectionsSettings <VBOOffice365ConnectionSettings>] [-Office365SharePointConnectionsSettings <VBOOffice365ConnectionSettings>] [-OnPremExchangeConnectionSettings <VBOExchangeOnPremConnectionSettings>] [-OnPremSharePointConnectionSettings <VBOSharePointOnPremConnectionSettings>] [-Region <VBOOffice365Region> {Worldwide | Germany | China | USDefence | USGovernment}] [-VeeamAADApplicationUsed] [-EnableOffice365Teams] [<CommonParameters>] |
Obsolete Cmdlet Set
The following cmdlet set is obsolete. It still works in Veeam Backup for Microsoft Office 365 version 5.0 but may not be supported in the next versions of Veeam Backup for Microsoft Office 365.
Add-VBOOrganization -Type <VBOOrganizationType> {OnPremises | Office365 | Hybrid} [-Name <string>] [<CommonParameters>] |
Detailed Description
This cmdlet adds Microsoft organizations to the Veeam Backup for Microsoft Office 365 infrastructure. You can add the following types of Microsoft organizations:
- Microsoft Office 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 backup both Microsoft Office 365 organizations and On-Premises Microsoft organizations.
For more information on Hybrid types of organizations, see the Hybrid Organizations section of the Veeam Backup for Microsoft Office 365 User Guide.
When you add Microsoft organizations to the Veeam Backup for Microsoft Office 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 an Azure AD application. Run the New-VBOOffice365ApplicationOnlyConnectionSettings cmdlet to define Azure AD 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.
|
If you want to add Microsoft Office 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 Office 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 a Microsoft organization. The cmdlet will add an organization with this name. | String | False | Named | False |
Office365ExchangeConnections | Specifies connection settings. The cmdlet will use these settings to add Microsoft Exchange Online to Veeam Backup for Microsoft Office 365. Note: If you also want to add Microsoft SharePoint Online to the same Microsoft Office 365 organization, you must set the VBOOffice365ConnectionSettings object to the same type of authentication mode. | Accepts the VBOOffice365ConnectionSettings object. | False | Named | False |
Office365SharePointConnections | Specifies connection settings. The cmdlet will use these settings to add Microsoft SharePoint Online and Microsoft OneDrive for Business to Veeam Backup for Microsoft Office 365. Note: If you also want to run the script with the Office365ExchangeConnectionsSettings parameter, you must set the VBOOffice365ConnectionSettings object to the same type of authentication mode. | Accepts the VBOOffice365ConnectionSettings object. | 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 Office 365. | Accepts the VBOExchangeOnPremConnectionSettings object. | False | Named | False |
OnPremSharePointConnection | Specifies connection settings. The cmdlet will use these settings to add Microsoft on-premises SharePoint organization to Veeam Backup for Microsoft Office 365. | Accepts the VBOSharePointOnPremConnectionSettings object. | False | Named | False |
Region | Specifies Microsoft Azure region where Microsoft Office 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 the True value for the following Microsoft Azure Regions:
Default: False | SwitchParameter | False | Named | False |
EnableOffice365Teams | Defines that the cmdlet will add Microsoft Teams to Veeam Backup for Microsoft Office 365. To do this, the cmdlet will use settings specified with the Office365SharePointConnectionsSettings parameter. If you want to use this parameter, you must also provide the Office365ExchangeConnectionsSettings and Office365SharePointConnectionsSettings parameters. | SwitchParameter | False | Named | False |
Type | Note: This parameter is obsolete. Specifies the type of the organization deployment:
| VBOOrganizationType | True | 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 Microsoft organizations to the Veeam Backup for Microsoft Office 365 infrastructure.
Examples for Modern App-Only Authentication
These examples provide instructions on adding Microsoft organizations to the Veeam Backup for Microsoft Office 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 Office 365 infrastructure to back up the following services:
Perform the following steps:
|
Example 2. Adding Microsoft Organization Together with Defining Azure AD Application Using Certificate
This example shows how to add a Microsoft organization to the Veeam Backup for Microsoft Office 365 infrastructure and define settings of an Azure AD 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 Office 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 Office 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 Office 365 infrastructure. Veeam Backup for Microsoft Office 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 Office 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 example shows how to add an on-premises Microsoft organization to back up Microsoft Exchange server.
Perform the following steps:
|
Related Commands