Getting Organizations

In this article

    This section explains how to get a resource representation of all organizations added to Veeam Backup for Microsoft Office 365.

    Request

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

    Request Headers

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

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    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

    Response Body

    In the response body, the server returns a resource representation of the /Organizations collection resource.

    Example

    The following request returns a resource representation of all organizations added to Veeam Backup for Microsoft Office 365.

    Request:

    GET https://abc.tech.local:4443/v5/Organizations

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    [

     {

       "isTeamsOnline": true,

       "exchangeOnlineSettings": {

         "useApplicationOnlyAuth": true,

         "officeOrganizationName": "abc.onmicrosoft.com",

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

         "grantAdminAccess": true,

         "useMfa": true,

         "applicationId": "a1cc0b32-c468-49a7-b4da-945927135cf2",

         "applicationCertificateThumbprint": "4827CDE8F66C1E34A51B50644C67012BA5B07BE9"

       },

       "sharePointOnlineSettings": {

         "useApplicationOnlyAuth": true,

         "officeOrganizationName": "abc.onmicrosoft.com",

         "sharePointSaveAllWebParts": false,

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

         "grantAdminAccess": true,

         "useMfa": true,

         "applicationId": "a1cc0b32-c468-49a7-b4da-945927135cf2",

         "applicationCertificateThumbprint": "4827CDE8F66C1E34A51B50644C67012BA5B07BE9"

       },

       "isExchangeOnline": true,

       "isSharePointOnline": true,

       "type": "Office365",

       "region": "Worldwide",

       "id": "40dfa255-2762-43e5-8320-dff7a9201f90",

       "name": "abc.onmicrosoft.com",

       "officeName": "abc.onmicrosoft.com",

       "isBackedup": true,

       "firstBackuptime": "2020-10-14T14:14:15.8178322Z",

       "lastBackuptime": "2020-12-10T22:01:39.3183856Z",

       "_links": {

         "self": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90"

         },

         "jobs": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90/jobs"

         },

         "groups": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90/groups"

         },

         "users": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90/users"

         },

         "sites": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90/sites"

         },

         "teams": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90/teams"

         },

         "usedRepositories": {

           "href": "https://abc.tech.local:4443/v5/organizations/40dfa255-2762-43e5-8320-dff7a9201f90/usedRepositories"

         }

       },

       "_actions": {}

     }

    ]

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.