Getting Organizations
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/v4/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 representation of the /Organizations collection resource.
Example
The following request returns an entity representation of all organizations added to Veeam Backup for Microsoft Office 365.
Request: GET https://abc.tech.local:4443/v4/Organizations
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK
Response Body: [ "type": "office365", "region": "worldwide", "isExchangeOnline": "true", "isSharePointOnline": "true", "exchangeOnlineSettings": { "account": "username", "useMfa": "true", "grantAdminAccess": "true", "useCustomVeeamAADApplication": "true", "ApplicationId" : "feccc769-5f39-4797-8918-96df38908a90", "ApplicationSecret" : "secret", "ApplicationCertificate" : "U29tZSBzZWNyZXQ=", "ApplicationCertificateThumbprint" : "F767D7E58C39B295"
}, "sharePointOnlineSettings": { "account": "username", "useMfa": "true", "grantAdminAccess": "true", "usecustomveeamaadapplication": "true", "ApplicationId" : "feccc769-5f39-4797-8918-96df38908a90", "ApplicationSecret" : "secret", "ApplicationCertificate" : "U29tZSBzZWNyZXQ=", "ApplicationCertificateThumbprint" : "F767D7E58C39B295" } }, ..] |