Add-VBOOrganization
Short Description
Adds Microsoft organizations to Veeam Backup for Microsoft Office 365.
Syntax
In Veeam Backup for Microsoft Office 365 3.0 this cmdlet has been updated with the following cmdlet set:
Add-VBOOrganization [-Name <string>] [-Office365ExchangeConnectionsSettings <VBOOffice365ConnectionSettings>] [-Office365SharePointConnectionsSettings <VBOOffice365ConnectionSettings>] [-OnPremExchangeConnectionSettings <VBOExchangeOnPremConnectionSettings>] [-OnPremSharePointConnectionSettings <VBOSharePointOnPremConnectionSettings>] [-Region <VBOOffice365Region> {Worldwide | Germany | China | USDefence | USGovernment}] [-VeeamAADApplicationUsed] [<CommonParameters>] |
Obsolete cmdlet sets
The following cmdlet sets are obsolete and have been designed for Veeam Backup for Microsoft Office 365 version 2.0. They still work in Veeam Backup for Microsoft Office 365 version 3.0 but may not be supported in the next versions of Veeam Backup for Microsoft Office 365.
- To add Microsoft Office 365 organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -Office365Credential <PSCredential> [-Name <String>] [-Office365Region <VBOOffice365Region>] [-Office365GrantImpersonation [<SwitchParameter>]] [-Office365GrantAccessToSiteCollections [<SwitchParameter>]] [-Office365UseVeeamAADApplication [<SwitchParameter>]] [<CommonParameters>] |
- To add on-premises Microsoft Exchange organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -ExchangeServerName <String> -ExchangeOnPremisesCredential <PSCredential> [-Name <String>] [-ExchangeUseSSL [<SwitchParameter>]] [-ExchangeSkipCAVerification [<SwitchParameter>]] [-ExchangeSkipCommonNameVerification [<SwitchParameter>]] [-ExchangeSkipRevocationCheck [<SwitchParameter>]] [-ExchangeOnPremisesGrantImpersonation [<SwitchParameter>]] [-ExchangeConfigureThrottlingPolicy [<SwitchParameter>]] [<CommonParameters>] |
- To add on-premises Microsoft SharePoint organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -SharePointServerName <String> -SharePointCredential <PSCredential> [-Name <String>] [-SharePointServerPort <Int32>] [-SharePointGrantAccessToSiteCollections [<SwitchParameter>]] [-SharePointUserSSL [<SwitchParameter>]] [-SharePointSkipCARevocationCheck [<SwitchParameter>]] [-SharePointSkipCommonNameVerification [<SwitchParameter>]] [-SharePointSkipRevocationCheck [<SwitchParameter>]] [<CommonParameters>] |
- To add both on-premises Microsoft Exchange and on-premises Microsoft SharePoint organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -ExchangeServerName <String> -ExchangeOnPremisesCredential <PSCredential> -SharePointServerName <String> -SharePointCredential <PSCredential> [-SharePointSkipCARevocationCheck [<SwitchParameter>]] [-SharePointUserSSL [<SwitchParameter>]] [-SharePointGrantAccessToSiteCollections [<SwitchParameter>]] [-SharePointServerPort <Int32>] [-ExchangeConfigureThrottlingPolicy [<SwitchParameter>]] [-ExchangeSkipCommonNameVerification [<SwitchParameter>]] [-ExchangeSkipRevocationCheck [<SwitchParameter>]] [-SharePointSkipCommonNameVerification [<SwitchParameter>]] [-ExchangeSkipCAVerification [<SwitchParameter>]] [-ExchangeUseSSL [<SwitchParameter>]] [-Name <String>] [-ExchangeOnPremisesGrantImpersonation [<SwitchParameter>]] [-SharePointSkipRevocationCheck [<SwitchParameter>]] [<CommonParameters>] |
- To add Microsoft Office 365 and on-premises Microsoft Exchange organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -Office365Credential <PSCredential> -ExchangeServerName <String> -ExchangeOnPremisesCredential <PSCredential> [-Name <String>] [-Office365Region <VBOOffice365Region>] [-Office365GrantImpersonation [<SwitchParameter>]] [-Office365GrantAccessToSiteCollections [<SwitchParameter>]] [-Office365UseVeeamAADApplication [<SwitchParameter>]] [-ExchangeUseSSL [<SwitchParameter>]] [-ExchangeSkipCAVerification [<SwitchParameter>]] [-ExchangeSkipCommonNameVerification [<SwitchParameter>]] [-ExchangeSkipRevocationCheck [<SwitchParameter>]] [-ExchangeOnPremisesGrantImpersonation [<SwitchParameter>]] [-ExchangeConfigureThrottlingPolicy [<SwitchParameter>]] [<CommonParameters>] |
- To add Microsoft Office 365 and on-premises Microsoft SharePoint organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -Office365Credential <PSCredential> -SharePointServerName <String> -SharePointCredential <PSCredential> [-Name <String>] [-Office365Region <VBOOffice365Region>] [-Office365GrantImpersonation [<SwitchParameter>]] [-Office365GrantAccessToSiteCollections [<SwitchParameter>]] [-Office365UseVeeamAADApplication [<SwitchParameter>]] [-SharePointServerPort <Int32>] [-SharePointGrantAccessToSiteCollections [<SwitchParameter>]] [-SharePointUserSSL [<SwitchParameter>]] [-SharePointSkipCARevocationCheck [<SwitchParameter>]] [-SharePointSkipCommonNameVerification [<SwitchParameter>]] [-SharePointSkipRevocationCheck [<SwitchParameter>]] [<CommonParameters>] |
- To add Microsoft Office 365 and both on-premises Microsoft Exchange and on-premises Microsoft SharePoint organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -Office365Credential <PSCredential> -ExchangeServerName <String> -ExchangeOnPremisesCredential <PSCredential> -SharePointServerName <String> -SharePointCredential <PSCredential> [-SharePointSkipCARevocationCheck [<SwitchParameter>]] [-SharePointUserSSL [<SwitchParameter>]] [-SharePointGrantAccessToSiteCollections [<SwitchParameter>]] [-SharePointServerPort <Int32>] [-ExchangeConfigureThrottlingPolicy [<SwitchParameter>]] [-ExchangeOnPremisesGrantImpersonation [<SwitchParameter>]] [-ExchangeSkipRevocationCheck [<SwitchParameter>]] [-ExchangeUseSSL [<SwitchParameter>]] [-ExchangeSkipCAVerification [<SwitchParameter>]] [-SharePointSkipCommonNameVerification [<SwitchParameter>]] [-Office365UseVeeamAADApplication [<SwitchParameter>]] [-Office365GrantAccessToSiteCollections [<SwitchParameter>]] [-Office365GrantImpersonation [<SwitchParameter>]] [-Office365Region <VBOOffice365Region>] [-Name <String>] [-ExchangeSkipCommonNameVerification [<SwitchParameter>]] [-SharePointSkipRevocationCheck [<SwitchParameter>]] [<CommonParameters>] |
The following cmdlet sets are obsolete and have been designed for Veeam Backup for Microsoft Office 365 version 1.5. They still work in Veeam Backup for Microsoft Office 365 version 2.0 and version 3.0 but may not be supported in the next versions of Veeam Backup for Microsoft Office 365.
- To add on-premises Microsoft Exchange organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -Server <String> -OnPremisesCredential <PSCredential> [-Name <String>] [-UseSSL [<SwitchParameter>]] [-SkipCAVerification [<SwitchParameter>]] [-SkipCommonNameVerification [<SwitchParameter>]] [-SkipRevocationCheck [<SwitchParameter>]] [-OnPremisesGrantImpersonation [<SwitchParameter>]] [-ConfigureThrottlingPolicy [<SwitchParameter>]] [<CommonParameters>] |
- To add Microsoft Exchange Online and on-premises Microsoft Exchange organizations:
Add-VBOOrganization -Type <VBOOrganizationType> -Office365Credential <PSCredential> -Server <String> -OnPremisesCredential <PSCredential> [-Name <String>] [-Office365Region <VBOOffice365Region>] [-Office365GrantImpersonation [<SwitchParameter>]] [-Office365GrantAccessToSiteCollections [<SwitchParameter>]] [-Office365UseVeeamAADApplication [<SwitchParameter>]] [-UseSSL [<SwitchParameter>]] [-SkipCAVerification [<SwitchParameter>]] [-SkipCommonNameVerification [<SwitchParameter>]] [-SkipRevocationCheck [<SwitchParameter>]] [-OnPremisesGrantImpersonation [<SwitchParameter>]] [-ConfigureThrottlingPolicy [<SwitchParameter>]] [<CommonParameters>] |
Detailed Description
This cmdlet adds Microsoft organizations to a Veeam Backup for Microsoft Office 365 infrastructure. You can add the following types of 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 Microsoft Exchange Server and 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 section Adding Hybrid Organizations of the Veeam Backup for Microsoft Office 365 3.0 User Guide.
|
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 | Required | Position | Accept | Accept |
Name | Specifies a name of a Microsoft organization. The cmdlet will add an organization with this name. | False | Named | False | False |
Office365ExchangeConnectionsSettings | Specifies connection settings. The cmdlet will use these settings to add Microsoft Exchange Online to Veeam Backup for Microsoft Office 365. Accepts the VBOOffice365ConnectionSettings object. To get this object, run the New-VBOOffice365ConnectionSettings cmdlet. 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. | False | Named | False | 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 Office 365. Accepts the VBOOffice365ConnectionSettings object. To get this object, run the New-VBOOffice365ConnectionSettings cmdlet. 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. | False | Named | False | 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. | False | Named | False | False |
OnPremSharePointConnectionSettings | Specifies connection settings. The cmdlet will use these settings to add Microsoft on-premises SharePoint organization to Veeam Backup for Microsoft Office 365. | False | Named | False | False |
Region | Specifies Microsoft Azure region where Microsoft Office 365 organization datacenter is located:
Default: Worldwide | False | Named | False | False |
VeeamAADApplicationUsed | Indicates that the cmdlet will use 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 | False | Named | False | False |
Office365 | NOTE: This parameter is obsolete. Specifies Microsoft Azure region where Microsoft Office 365 organization datacenter is located:
Default: Worldwide | False | Named | False | False |
Type | NOTE: This parameter is obsolete. Specifies the type of the organization deployment:
| True | Named | False | False |
Office365 | NOTE: This parameter is obsolete Specifies the credentials you want to use for authenticating with Microsoft Office 365 organization. You must specify the organization user name in one of the following formats:
| True | Named | False | False |
Office365 | NOTE: This parameter is obsolete. Indicates that backup jobs will be able to process all mailboxes within Microsoft Office 365 organization. | False | Named | False | False |
Office365 | NOTE: This parameter is obsolete. Indicates that the cmdlet will assign user Site Collection Admin rights for accessing site collections and sites. | False | Named | False | False |
Office365 | NOTE: This parameter is obsolete. Indicates that the cmdlet will use 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 | False | Named | False | False |
Server | NOTE: This parameter is obsolete. Specifies Microsoft Exchange server EWS endpoint URL. | True | Named | False | False |
OnPremises | NOTE: This parameter is obsolete. Specifies the credentials you want to use for authenticating with on-premises components. You must specify the organization user name in one of the following formats:
| True | Named | False | False |
UseSSL | NOTE: This parameter is obsolete. Indicates that the cmdlet will set up a secure connection with Microsoft Exchange organization server. | False | Named | False | False |
SkipCA | NOTE: This parameter is obsolete. For SSL connection. Indicates that the cmdlet will skip Certificate Authority verification. | False | Named | False | False |
Skip | NOTE: This parameter is obsolete. For SSL connection. Indicates that the cmdlet will skip Common Name verification. | False | Named | False | False |
Skip | NOTE: This parameter is obsolete. For SSL connection. Indicates that the cmdlet will skip the check of certificate expiration against the certificate revocation list. | False | Named | False | False |
OnPremises | NOTE: This parameter is obsolete. Indicates that backup jobs will be able to process all mailboxes within on-premises Microsoft Exchange organization. | False | Named | False | False |
Configure | NOTE: This parameter is obsolete. Indicates that the cmdlet will configure VeeamArchiverThrottlingPolicy to connect to Microsoft Exchange organization server. VeeamArchiverThrottlingPolicy substitutes existing Exchange throttling policies and provides unlimited network bandwidth. | False | Named | False | False |
SharePointServerName | NOTE: This parameter is obsolete. Specifies SharePoint server name. | True | Named | False | False |
SharePointServerPort | NOTE: This parameter is obsolete. Specifies SharePoint server port. | False | Named | False | False |
SharePointCredential | NOTE: This parameter is obsolete. Specifies the credentials you want to use for authenticating to organization with SharePoint on-premises components. | True | Named | False | False |
SharePointGrantAccessToSiteCollections | NOTE: This parameter is obsolete. Indicates if this cmdlet will automatically assign user a Site Collection Admin role to gain access to SharePoint site collections. | False | Named | False | False |
SharePointUseSSL | NOTE: This parameter is obsolete. Indicates that the cmdlet will use a secure connection with Microsoft SharePoint server. | False | Named | False | False |
SharePointSkipCAVerification | NOTE: This parameter is obsolete. For a secure connection. Indicates that Certificate Authority verification check will not be performed. | False | Named | False | False |
SharePointSkipCommonNameVerification | NOTE: This parameter is obsolete. For a secure connection. Indicates that common name verification check will not be performed. | False | Named | False | False |
SharePointSkipRevocationCheck | NOTE: This parameter is obsolete. For a secure connection. Indicates that certificate revocation check will not be performed. | False | Named | False | False |
ExchangeServerName | NOTE: This parameter is obsolete. Specifies Exchange server name. | False | Named | False | False |
ExchangeOnPremisesCredential | NOTE: This parameter is obsolete. Specifies the credentials you want to use for authenticating with the Exchange components. You must specify the organization user name in one of the following formats:
| False | Named | False | False |
ExchangeUseSSL | NOTE: This parameter is obsolete. Indicates that the cmdlet will use a secure connection with Microsoft Exchange server. | False | Named | False | False |
ExchangeSkipCAVerification | NOTE: This parameter is obsolete. For a secure connection. Indicates that Certificate Authority verification check will not be performed. | False | Named | False | False |
ExchangeSkipCommonNameVerification | NOTE: This parameter is obsolete. For a secure connection. Indicates that common name verification check will not be performed. | False | Named | False | False |
ExchangeSkipRevocationCheck | NOTE: This parameter is obsolete. For a secure connection. Indicates that certificate revocation check will not be performed. | False | Named | False | False |
ExchangeOnPremises | NOTE: This parameter is obsolete. Indicates that backup jobs will be able to process all mailboxes within on-premises Microsoft Exchange organization. | False | Named | False | False |
ExchangeConfigure | NOTE: This parameter is obsolete. Indicates that the cmdlet will configure VeeamArchiverThrottlingPolicy for connecting with Microsoft Exchange organization server. VeeamArchiverThrottlingPolicy substitutes existing Exchange throttling policies and provides unlimited network bandwidth. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Example 1
This example shows how to add a Microsoft Office 365 organization to Veeam Backup for Microsoft Office 365 with the basic authentication.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with the Microsoft Office 365 organization. Save the result to the $credentials variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the Credential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365ExchangeConnectionSettings variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the Credential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365SharePointConnectionSettings variable.
- Run the Add-VBOOrganization cmdlet. Set the $Office365ExchangeConnectionSettings as the Office365ExchangeConnectionSettings parameter value. Set the $Office365SharePointConnectionSettings as the Office365SharePointConnectionsSettings parameter value.
$credentials = Get-Credential $Office365ExchangeConnectionSettings = New-VBOOffice365ConnectionSettings -Credential $credentials -GrantRolesAndPermissions $Office365SharePointConnectionSettings = New-VBOOffice365ConnectionSettings -Credential $credentials -GrantRolesAndPermissions Add-VBOOrganization -Name columbus@organization.onmicrosoft.com -Office365ExchangeConnectionsSettings $Office365ExchangeConnectionSettings -Office365SharePointConnectionsSettings $Office365SharePointConnectionSettings |
Example 2
This example shows how to add a Microsoft Office 365 organization to Veeam Backup for Microsoft Office 365 server with a modern authentication and an application secret.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $credentials variable.
- Run the ConvertTo-SecureString cmdlet to turn the application secret key into a SecureString type. Provide the AsPlainText parameter. Save the result to the $ApplicationSecret variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the AppCredential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365ExchangeConnectionSettings variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the AppCredential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365SharePointConnectionSettings variable.
- Run the Add-VBOOrganization cmdlet. Set the $Office365ExchangeConnectionSettings variable as the Office365ExchangeConnectionsSettings parameter value. Set the $Office365SharePointConnectionSettings variable as the Office365SharePointConnectionsSettings parameter value.
$Credentials = Get-Credential $ApplicationSecret = ConvertTo-SecureString -String "fCblKbIf+kY10+uB+rROD+wZPT/WxcDNX+EU2O33Q1s=" -AsPlainText -Force $Office365ExchangeConnectionSettings = New-VBOOffice365ConnectionSettings -AppCredential $Credentials -ApplicationId d052f06e-1cfa-42ff-9636-9da9e7aa1fd1 -ApplicationSecret $ApplicationSecret -GrantRolesAndPermissions $Office365SharePointConnectionSettings = New-VBOOffice365ConnectionSettings -AppCredential $Credentials -ApplicationId d052f06e-1cfa-42ff-9636-9da9e7aa1fd1 -ApplicationSecret $ApplicationSecret -GrantRolesAndPermissions Add-VBOOrganization -Name columbus@organization.onmicrosoft.com -Office365ExchangeConnectionsSettings $Office365ExchangeConnectionSettings -Office365SharePointConnectionsSettings $Office365SharePointConnectionSettings |
Example 3
This example shows how to add a Microsoft Office 365 organization to Veeam Backup for Microsoft Office 365 server with a modern authentication and an application certificate.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $credentials variable.
- Run the ConvertTo-SecureString cmdlet to turn the application secret key into a SecureString type. Provide the AsPlainText parameter. Save the result to the $ApplicationSecret variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the AppCredential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365ExchangeConnectionSettings variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the AppCredential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365SharePointConnectionSettings variable.
- Run the Add-VBOOrganization cmdlet. Set the $Office365ExchangeConnectionSettings variable as the Office365ExchangeConnectionsSettings parameter value. Set the $Office365SharePointConnectionSettings variable as the Office365SharePointConnectionsSettings parameter value.
$Credentials = Get-Credential $ApplicationCertificatePassword = ConvertTo-SecureString -String fCblKbIf+kY10+uB+rROD+wZPT/WxcDNX+EU2O33Q1s= -AsPlainText -Force $Office365ExchangeConnectionSettings = New-VBOOffice365ConnectionSettings -AppCredential $Credentials -ApplicationId d052f06e-1cfa-42ff-9636-9da5e7aa1fd1 -ApplicationCertificatePath C:\ApplicationCertificate.pfx -ApplicationCertificatePassword $ApplicationCertificatePassword -GrantRolesAndPermissions $Office365SharePointConnectionSettings = New-VBOOffice365ConnectionSettings -AppCredential $Credentials -ApplicationId d052f06e-1cfa-42ff-9636-9da5e7aa1fd1 -ApplicationCertificatePath C:\ApplicationCertificate.pfx -ApplicationCertificatePassword $ApplicationCertificatePassword -GrantRolesAndPermissions Add-VBOOrganization -Name columbus@organization.onmicrosoft.com -Office365ExchangeConnectionsSettings $Office365ExchangeConnectionSettings -Office365SharePointConnectionsSettings $Office365SharePointConnectionSettings |
Example 4
This example shows how to add Microsoft Office 365 on-premises organization components to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Exchange organization. Save the result to the $onPremCredentials variable.
- Run the New-VBOOnPremConnectionsSettings cmdlet. Set the $onPremCredentials variable as the Credential parameter value. Provide the ConfigureThrottlingPolicy parameter to enable a throttling policy for connection to the Exchange server. Save the result to the $OnPremiseExchangeConnectionsSettings variable.
- Run the New-VBOOffice365ConnectionsSettings cmdlet. Set the $onPremCredentials variable as the Credential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $OnPremiseSharePointConnectionsSettings variable.
- Run the Add-VBOOrganization cmdlet. Set the $OnPremiseExchangeConnectionsSettings variable as the OnPremExchangeConnectionsSettings parameter value. Set the $OnPremiseSharePointConnectionsSettings variable as the OnPremSharePointConnectionsSettings parameter value.
$onPremCredentials = Get-Credential $OnPremiseExchangeConnectionsSettings = New-VBOOnPremConnectionSettings -Credential $onPremCredentials -ServerName Support.North -ConfigureThrottlingPolicy $OnPremiseSharePointConnectionsSettings = New-VBOOnPremConnectionSettings -Credential $onPremCredentials -ServerName Support.North -ServerPort 5986 Add-VBOOrganization -Name columbus@organization.onmicrosoft.com -OnPremExchangeConnectionsSettings $OnPremiseExchangeConnectionsSettings -OnPremSharePointConnectionsSettings $OnPremiseSharePointConnectionsSettings |
Example 5
This example shows how to add a hybrid organization with all Microsoft Office 365 and on-premises components to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $Credentials variable.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Office 365 organization components. Save the result to the $onPremCredentials variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the AppCredential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365ExchangeConnectionSettings variable.
- Run the New-VBOOffice365ConnectionSettings cmdlet. Set the $credentials variable as the AppCredential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $Office365SharePointConnectionSettings variable.
- Run the New-VBOOnPremConnectionsSettings cmdlet. Set the $onPremCredentials variable as the Credential parameter value. Provide the ConfigureThrottlingPolicy parameter to enable a throttling policy for connection to the Exchange server. Save the result to the $OnPremiseExchangeConnectionsSettings variable.
- Run the New-VBOOnPremConnectionSettings cmdlet. Set the $onPremCredentials variable as the Credential parameter value. Provide the GrantRolesAndPermissions parameter to enable all the necessary permissions and roles to the authenticated user. Save the result to the $OnPremiseSharePointConnectionsSettings variable.
- Run the Add-VBOOrganization cmdlet. Set the $Office365ExchangeConnectionSettings variable as the Office365ExchangeConnectionsSettings parameter value. Set the $Office365SharePointConnectionSettings variable as the Office365SharePointConnectionsSettings parameter value. Set the $OnPremiseExchangeConnectionsSettings variable as the OnPremExchangeConnectionsSettings parameter value. Set the $OnPremiseSharePointConnectionsSettings variable as the OnPremSharePointConnectionsSettings parameter value.
$Credentials = Get-Credential $onPremCredentials = Get-Credential $Office365ExchangeConnectionSettings = New-VBOOffice365ConnectionSettings -Credential $Credentials -GrantRolesAndPermissions $Office365SharePointConnectionSettings = New-VBOOffice365ConnectionSettings -Credential $Credentials -GrantRolesAndPermissions $OnPremiseExchangeConnectionsSettings = New-VBOOnPremConnectionSettings -Credential $Credentials -ServerName Support.North -ConfigureThrottlingPolicy $OnPremiseSharePointConnectionsSettings = New-VBOOnPremConnectionSettings -Credential $Credentials -ServerName Support.North -ServerPort 5986 Add-VBOOrganization -Name columbus@organization.onmicrosoft.com -Office365ExchangeConnectionsSettings $Office365ExchangeConnectionSettings -Office365SharePointConnectionsSettings $Office365SharePointConnectionSettings -OnPremExchangeConnectionsSettings $OnPremiseExchangeConnectionsSettings -OnPremSharePointConnectionsSettings $OnPremiseSharePointConnectionsSettings |
Example 6
OBSOLETE: This example shows how to add Microsoft Office 365 organization to Veeam Backup for Microsoft Office 365. Organization's Microsoft Office 365 datacenter is in Germany.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $officeCreds variable.
- Run the Add-VBOOrganization cmdlet. Set the $officeCreds variable as the Office365Credential parameter value. Use the Office365GrantAccessToSiteCollections parameter to assign user Site Collection Admin rights for accessing site collections and sites.
$officeCreds = Get-Credential Add-VBOOrganization -Type Office365 -Office365Region Germany -Office365Credential $officeCreds -Office365GrantAccessToSiteCollections |
Example 7
OBSOLETE: This example shows how to add on-premises Microsoft Exchange organization to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Exchange organization. Save the result to the $onPremisesExchangeCreds variable.
- Save the Microsoft Exchange organization server name to the $exchangeServer variable.
- Run the Add-VBOOrganization cmdlet. Set the $onPremisesExchangeCreds variable as the ExchangeOnPremisesCredential parameter value. Set the $exchangeServer variable as the ExchangeServerName parameter value.
$onPremisesExchangeCreds = Get-Credential $exchangeServer = "Exchange Server Name" Add-VBOOrganization -Type OnPremises –ExchangeServerName $exchangeServer -ExchangeOnPremisesCredential $onPremisesExchangeCreds |
Example 8
OBSOLETE: This example shows how to add on-premises Microsoft SharePoint organization to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Sharepoint organization. Save the result to the $onPremiseSharePointCreds variable.
- Save the Microsoft SharePoint organization server name to the $sharePointServer variable.
- Run the Add-VBOOrganization cmdlet. Set the $onPremiseSharePointCreds variable as the OnPremisesCredential parameter value. Set the $sharePointServer variable as the SharePointServerName parameter value.
$onPremiseSharePointCreds = Get-Credential $sharePointServer = "SharePoint Server Name" Add-VBOOrganization -Type OnPremises -SharePointServerName $sharePointServer -OnPremisesCredential $onPremiseSharePointCreds |
Example 9
OBSOLETE: This example shows how to add on-premises organization with both Microsoft Exchange and Microsoft SharePoint components to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Exchange organization. Save the result to the $onPremiseExchangeCreds variable.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with On-Premises Microsoft SharePoint organization. Save the result to the $onPremiseSharePointCreds variable.
- Save the Microsoft Exchange organization server name to the $exchangeServer variable.
- Save the Microsoft SharePoint organization server name to the $sharePointServer variable.
- Run the Add-VBOOrganization cmdlet. Set the $onPremiseExchangeCreds as the ExchangeOnPremisesCredential parameter value. Set the $onPremiseSharePointCreds variable as the SharePointCredential parameter value. Set the $exchangeServer variable as the ExchangeServerName parameter value. Set the $sharePointServer variable as the SharePointServerName parameter value.
$onPremiseExchangeCreds = Get-Credential $onPremiseSharePointCreds = Get-Credential $exchangeServer = "Exchange Server Name" $sharePointServer = "SharePoint Server Name" Add-VBOOrganization -Type OnPremises -ExchangeServerName $exchangeServer –ExchangeOnPremisesCredential $onPremiseExchangeCreds -SharePointServerName $sharePointServer -SharePointCredential $onPremiseSharePointCreds |
Example 10
OBSOLETE: This example shows how to add Hybrid organization, which contains only Microsoft Exchange on-premises components to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $officeCreds variable.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Exchange organization. Save the result to the $onPremiseExchangeCreds variable.
- Save the Microsoft Exchange organization server name to the $exchangeServer variable.
- Run the Add-VBOOrganization cmdlet. Set the $officeCreds variable as the Office365Credential parameter value. Set the $exchangeServer variable as the ExchangeServerName parameter value. Set the $onPremiseExchangeCreds variable as the ExchangeOnPremisesCredential parameter value.
$officeCreds = Get-Credential $onPremiseExchangeCreds = Get-Credential $exchangeServer = "Exchange Server Name" Add-VBOOrganization -Type Hybrid -Office365Credential $officeCreds -ExchangeServerName $exchangeServer -ExchangeOnPremisesCredential $onPremiseExchangeCreds |
Example 11
OBSOLETE: This example shows how to add Hybrid organization, which contains only Microsoft SharePoint on-premises components to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $officeCreds variable.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft SharePoint organization. Save the result to the $onPremiseSharePointCreds variable.
- Save the Microsoft SharePoint organization server name to the $sharePointServer variable.
- Run the Add-VBOOrganization cmdlet. Set the $officeCreds variable as the Office365Credential parameter value. Set the $sharePointServer variable as the SharePointServerName parameter value. Set the $onPremiseSharePointCreds variable as the SharePointCredential parameter value..
$officeCreds = Get-Credential $onPremiseSharePointCreds = Get-Credential $sharePointServer = "SharePoint Server Name" Add-VBOOrganization -Type Hybrid -Office365Credential $officeCreds -SharePointServerName $sharePointServer -SharePointCredential $onPremiseSharePointCreds |
Example 12
OBSOLETE: This example shows how to add Hybrid organization with both on-premises Microsoft Exchange and on-premises Microsoft SharePoint components to Veeam Backup for Microsoft Office 365.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with Microsoft Office 365 organization. Save the result to the $officeCreds variable.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft Exchange organization. Save the result to the $onPremiseExchangeCreds variable.
- Run the Get-Credential cmdlet to create a credential object. Enter credentials you want to use for authenticating with on-premises Microsoft SharePoint organization. Save the result to the $onPremiseSharePointCreds variable.
- Save the Microsoft Exchange organization server name to the $exchangeServer variable.
- Save the Microsoft SharePoint organization server name to the $sharePointServer variable.
- Run the Add-VBOOrganization cmdlet. Set the $officeCreds variable as the Office365Credential parameter. Set the $exchangeServer variable as the ExchangeServerName parameter value. Set the $sharePointServer variable as the SharePointServerName parameter value. Set the $onPremiseExchangeCreds variable as the ExchangeOnPremisesCredential parameter. Set the $onPremiseSharePointCreds variable as the SharePointCredential parameter value.
$officeCreds = Get-Credential $onPremiseExchangeCreds = Get-Credential $onPremiseSharePointCreds = Get-Credential $exchangeServer = "Exchange Server Name" $sharePointServer = "SharePoint Server Name" Add-VBOOrganization -Type Hybrid -Office365Credential $officeCreds -ExchangeServerName $exchangeServer -ExchangeOnPremisesCredential $onPremiseExchangeCreds -SharePointServerName $sharePointServer -SharePointCredential $onPremiseSharePointCreds |