Hybrid Organizations

In this article

    You can create hybrid configurations consisting of Microsoft Office 365 and on-premises Microsoft Exchange/SharePoint organizations.

    Request

    POST https://<hostname>:4443/v5/Organizations

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Parameters

    None.

    Request Body

    The following table lists available request properties:

    Property

    Type

    Description

    type

    string

    Sets the type of the organization you add that can be one of the following:

    • Office365
    • OnPremises
    • Hybrid

    region

    string

    Sets the Microsoft Azure region where Microsoft Office 365 organization datacenter is located:

    • Worldwide
    • USgovCommunity
    • Germany
    • China
    • USgovDefence

    isExchangeOnline

    boolean

    Defines whether to add an Exchange Online organization.

    isSharePointOnline

    boolean

    Defines whether to add a SharePoint Online organization.

    exchangeOnlineSettings

    object

    Sets Microsoft Office 365 settings for the Hybrid organization.

    For more information, see Organizations with Modern App-Only Authentication, Organizations with Modern Authentication and Legacy Protocols and Organizations with Basic Authentication.

    sharePointOnlineSettings

    isExchange

    boolean

    Defines whether to add an on-premises Exchange organization.

    exchangeSettings

    object

    Sets on-premises Microsoft Exchange settings.

    For more information, see On-Premises Organizations.

    isSharePoint

    boolean

    Defines whether to add an on-premises SharePoint organization.

    sharePointSettings

    object

    Sets on-premises Microsoft SharePoint settings.

    For more information, see On-Premises Organizations.

    Request Example

    Request:

    POST https://<hostname>:4443/v5/Organizations

     

    Request Header:

    Authorization: Bearer <Access-Token>

    Request Body:

    {

     "type": "Hybrid",

     "region": "Worldwide",

     "isExchangeOnline": true,

        "isSharePointOnline": true,

     "exchangeOnlineSettings":

     {

      "account": "administrator@abc.onmicrosoft.com",

          "password": "XXXXXXX",

          "grantAdminAccess": true,

         "useMfa": false,

         "useCustomVeeamAADApplication": true

     },

     "sharePointOnlineSettings":

     {

      "account": "administrator@abc.onmicrosoft.com",

          "password": "XXXXXXX",

          "grantAdminAccess": true,

         "useMfa": false,

         "useCustomVeeamAADApplication": true

     },

     "isExchange": true,

     "exchangeSettings":

     {

      "serverName": "split",

      "serverPort": 5985,

      "username": "domain\\administrator",

      "password": "password",

      "useSSL": false,

      "grantImpersonation": true,

      "configureThrottlingPolicy": true

     },

     "isSharepoint": true,

     "sharePointSettings":

     {

      "serverName": "vodice",

      "serverPort": 5985,

      "username": "domain\\administrator",

      "password": "password",

      "useSSL": false,

      "grantAccessToSiteCollections": true

     }

    }

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 201 Created.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the response body message: application/json; charset=utf-8