- About Veeam Backup for Microsoft 365 REST API
- Overview
- Changelog
- Authorization
- Accounts
- Amazon Archiver Appliance
- Amazon S3 Object Storage Buckets and Folders
- Applications
- Audit
- Audit Email Notification Settings
- Azure Blob Object Storage Containers and Folders
- Azure Service Accounts
- getGet Azure Service Accounts
- postAdd Azure Service Account
- getGet Azure Service Account Properties by Account ID
- putEdit Azure Service Account
- delRemove Azure Service Account
- postGet Device Code
- getGet Subscriptions
- getGet Subscription by ID
- getGet Resource Groups
- getGet Resource Group by Name
- getGet Locations
- getGet Location by Name
- getGet Virtual Machine Sizes
- getGet Virtual Machine Size by Name
- getGet Virtual Networks
- getGet Virtual Network by Name
- getGet Subnets
- getGet Subnet by Name
- Backup Accounts
- Backup and Backup Copy Job Session Operations
- Backup and Backup Copy Job Sessions
- Backup Applications
- Backup Copy Jobs
- Backup Jobs
- getGet Backup Jobs
- postCreate Backup Job
- getGet Backup Job
- putEdit Backup Job Settings
- delRemove Backup Job
- getGet Backup Copy Job
- getGet Backup Job Items
- postAdd Items to Backup Job
- delRemove Backup Job Items
- getGet Backup Job Item
- putEdit Backup Job Item
- getGet Excluded Items
- postAdd Items to Exclusions
- delRemove Excluded Items
- getGet Excluded Item
- putEdit Excluded Item
- postEnable Backup Job
- postDisable Backup Job
- postStart Backup Job
- postStop Backup Job
- postCreate Restore Session
- Backup Proxy Pools
- Backup Proxy Servers
- getGet Backup Proxy Servers
- postAdd Backup Proxy Server
- getGet Backup Proxy Server
- putEdit Backup Proxy Server Settings
- postRescan Backup Proxy Server
- postEnable Maintenance Mode for Backup Proxy Server
- postDisable Maintenance Mode for Backup Proxy Server
- postRemove Backup Proxy Server
- postRescan Backup Proxy Servers
- postCheck SSH Connection
- Backup Repositories
- getGet Backup Repositories
- postAdd Backup Repository
- getGet Backup Repository
- putEdit Backup Repository Settings
- delRemove Backup Repository
- getGet Backed-Up Organizations
- postSynchronize Cache
- postCreate Restore Session for Backup Repository by Repository ID
- postChange Owner for Backup Repository by Repository ID
- Backup Repository Change Owner Sessions
- Backup Repository Synchronization
- Configuration
- Data Protection Reports
- Data Retrieval Jobs
- Data Retrieval Session Operations
- Data Retrieval Sessions
- Encryption Passwords
- Events
- Excluded Mailbox Folders
- Global Exclusions from Retention Policy
- Group Data Backups
- Health
- Internet Proxy Server Settings
- Job Session History Settings
- License
- License Usage Report
- Licensed Users
- Mailbox Data Backups
- Mailbox Folders Restore
- Mailbox Items Restore
- getGet Mailbox Item
- getGet Mailbox Items
- postRestore Mailbox Items to Original Mailbox
- postRestore Mailbox Items to Another Mailbox
- postExport Mailbox Items
- postSave Mailbox Items
- postSend Mailbox Items to Original Mailbox
- postSend Mailbox Items to Another Mailbox
- postRestore Mailbox Item to Original Mailbox
- postRestore Mailbox Item to Another Mailbox
- postExport Mailbox Item
- postSave Mailbox Item
- postSend Mailbox Item to Original Mailbox
- postSend Mailbox Item to Another Mailbox
- postRestore Mailbox Items by Restore Operator
- Mailboxes Restore
- Management Mode
- OneDrive Data Backups
- OneDrive Documents Restore
- getGet OneDrive Documents
- getGet OneDrive Document
- getGet Previous Versions of OneDrive Document
- getGet Specific Version of OneDrive Document
- postRestore OneDrive Documents
- postCopy OneDrive Documents
- postSend OneDrive Documents
- postSave OneDrive Documents
- postRestore OneDrive Document
- postRestore Version of OneDrive Document
- postCopy OneDrive Document
- postCopy Version of OneDrive Document
- postSave OneDrive Document
- postSave Version of OneDrive Document
- postSend OneDrive Document
- postSend Version of OneDrive Document
- postRestore OneDrive Documents by Restore Operator
- OneDrive Folders Restore
- getGet OneDrive Folders
- getGet OneDrive Folder
- postRestore OneDrive Folders
- getGet Specific Version of OneDrive Folder
- postCopy OneDrive Folders
- postSave OneDrive Folders
- postSend OneDrive Folders
- getGet Previous Versions of OneDrive Folder
- postRestore OneDrive Folder
- postRestore Version of OneDrive Folder
- postCopy OneDrive Folder
- postCopy Version of OneDrive Folder
- postSave OneDrive Folder
- postSave Version of OneDrive Folder
- postSend OneDrive Folder
- postSend Version of OneDrive Folder
- postSearch for OneDrive Items in OneDrive Folder
- OneDrives of Organization User
- OneDrives Restore
- Organization Data Backups
- Organization Data Restore
- Organization Exclusions from Retention Policy
- Organization Group Members
- Organization Groups
- Organization Licensing
- Organization Sites
- Organization Teams
- Organization Users
- Organizations
- Processed Objects
- Protected Data
- Restore Operator Roles
- getGet All Restore Operator Roles
- getGet Restore Operator Role
- putEdit Restore Operator Role Settings
- delRemove Restore Operator Role
- getGet Restore Operators
- postAdd Restore Operators
- delRemove Restore Operators
- getGet Restore Operator
- getGet Objects to Manage
- postAdd Objects to Manage
- delRemove Objects to Manage
- getGet Object to Manage
- getGet Excluded Objects
- postAdd Excluded Objects
- delRemove Excluded Objects
- getGet Excluded Object
- getGet Restore Operator Roles by Organization ID
- postAdd Restore Operator Role
- Restore Points
- Restore Portal Settings
- Restore Session Events
- Restore Sessions
- S3 Compatible Object Storage Buckets and Folders
- SharePoint Attachments Restore
- SharePoint Data Backups
- SharePoint Documents Restore
- getGet SharePoint Documents
- getGet SharePoint Document
- getGet Specific Version of SharePoint Document
- getGet Previous Versions of SharePoint Document
- postRestore SharePoint Documents to Original Location
- postRestore SharePoint Documents to Another Location
- postRestore Version of SharePoint Document to Original Location
- postRestore Version of SharePoint Document to Another Location
- postRestore SharePoint Document to Original Location
- postRestore SharePoint Document to Another Location
- postSave SharePoint Documents
- postSave Version of SharePoint Document
- postSave SharePoint Document
- postSend SharePoint Documents
- postSend Version of SharePoint Document
- postSend SharePoint Document
- postRestore SharePoint Documents by Restore Operator
- SharePoint Folders Restore
- getGet SharePoint Folders
- getGet SharePoint Folder
- getGet Specific Version of SharePoint Folder
- getGet Previous Versions of SharePoint Folder
- postRestore SharePoint Folders to Original Location
- postRestore SharePoint Folders to Another Location
- postRestore SharePoint Folder to Original Location
- postRestore SharePoint Folder to Another Location
- postRestore Version of SharePoint Folder to Original Location
- postRestore Version of SharePoint Folder to Another Location
- postSave SharePoint Folders
- postSave SharePoint Folder
- postSave Version of SharePoint Folder
- postSend SharePoint Folders
- postSend SharePoint Folder
- postSend Version of SharePoint Folder
- postSearch for SharePoint Documents in SharePoint Folder
- SharePoint Items Restore
- getGet SharePoint Items
- getGet SharePoint Item
- getGet Specific Version of SharePoint Item
- getGet Previous Versions of SharePoint Item
- postRestore SharePoint Items to Original Location
- postRestore SharePoint Items to Another Location
- postRestore SharePoint Item to Original Location
- postRestore Version of SharePoint Item to Original Location
- postRestore SharePoint Item to Another Location
- postRestore Version of SharePoint Item to Another Location
- postRestore SharePoint Items by Restore Operator
- SharePoint Libraries Restore
- SharePoint Lists Restore
- SharePoint Sites Restore
- Synchronization of Organization Objects
- Team Data Backups
- Teams Channels Restore
- Teams Files Restore
- Teams Posts Restore
- Teams Restore
- Teams Tabs Restore
- User Data Backups
- Users Logged In to Restore Portal
- Veeam Backup for Microsoft 365 Email Notification Settings
- Veeam Explorer for Microsoft Exchange Email Settings
- Veeam Explorer for Microsoft OneDrive for Business Email Settings
- Veeam Explorer for Microsoft SharePoint Email Settings
- Veeam Explorer for Microsoft Teams Email Settings
- Version and Installation ID
The /Organizations resource collection represents Microsoft organizations added to Veeam Backup for Microsoft 365 and allows you to add organizations to the Veeam Backup for Microsoft 365 infrastructure and to manage them.
The /Organization resource collection represents information about Microsoft 365 and on-premises Microsoft organizations that were added as tenants by service providers.
For more information about the authorization process and security settings, see the Veeam Backup for Microsoft 365 REST API Reference, section Authorization for Organizations with Modern Authentication and Legacy Protocols or Basic Authentication.
The /DeviceCode resource collection allows you to obtain a device code to sign in to Microsoft Identity platform and to check whether a device code was used to sign in to Microsoft Identity platform.
Get Organizations
Returns a collection of Microsoft organizations added to the Veeam Backup for Microsoft 365 infrastructure.
query Parameters
| extendedView | boolean Default: false Defines the representation of the organization properties that will be returned to the client. The following values are available:
|
| msid | string <uuid> Specifies the identification number of the Microsoft 365 organization assigned by Microsoft. |
| backedUpOrganizationId | string Specifies the identification number of the backed-up Microsoft organization in the backup. For more information on how to get this parameter, see Get Backed-Up Organizations. |
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "isTeamsOnline": true,
- "isTeamsChatsOnline": true,
- "configureApplication": true,
- "userCode": "string",
- "exchangeOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "sharePointOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "isExchangeOnline": true,
- "isSharePointOnline": true,
- "type": "Office365",
- "region": "Worldwide",
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "officeName": "string",
- "description": "string",
- "isBackedup": true,
- "firstBackuptime": "2019-08-24T14:15:22Z",
- "lastBackuptime": "2019-08-24T14:15:22Z",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "backedUpOrganizationId": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "_actions": {
- "property1": {
- "uri": "string",
- "method": "string"
}, - "property2": {
- "uri": "string",
- "method": "string"
}
}, - "isSharepoint": true,
- "sharepointSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "serverPort": 0,
- "grantAccesstositecollections": true
}, - "isExchange": true,
- "exchangeSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "grantImpersonation": true,
- "configureThrottlingpolicy": true
}
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Add Organization
Adds a Microsoft organization to the Veeam Backup for Microsoft 365 infrastructure.
Request Body schema: application/jsonrequired
| isTeamsOnline | boolean or null Defines whether the added organization uses Microsoft Teams and you will be able to back up Microsoft Teams data for this organization. |
| isTeamsChatsOnline | boolean or null Defines whether the added organization uses team chats and you will be able to back up team chats for this organization. |
| configureApplication | boolean or null Defines whether you want to let Veeam Backup for Microsoft 365 automatically assign the certificate and required permissions to the specified Microsoft Entra application. |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. Note: To sign in, open Microsoft Identity platform and specify this device code. |
| newApplicationName write-only | string or null Specifies the name for the Microsoft Entra application. Veeam Backup for Microsoft 365 automatically creates a new Microsoft Entra application with this name in Microsoft Entra ID. |
object or null (RESTOffice365ConnectionSettings) x-veeam-map-to: Veeam.Archiver.Rest.RESTOffice365ConnectionSettings oneway | |
object or null (RESTOffice365ConnectionSettings) x-veeam-map-to: Veeam.Archiver.Rest.RESTOffice365ConnectionSettings oneway | |
| isExchangeOnline | boolean or null Defines whether to add an Exchange Online organization. |
| isSharePointOnline | boolean or null Defines whether to add a SharePoint Online organization. |
| type | string or null (RestOrganizationType) Specifies the organization type. |
| region | string or null (RestOrganizationRegion) Specifies a Microsoft Entra region. |
| name | string Specifies the name of the Microsoft organization. |
| officeName | string Specifies the Microsoft 365 Online name. |
| description | string or null Specifies the Microsoft organization description. |
| isBackedup | boolean or null Defines whether the organizations was backed up. |
| firstBackuptime | string or null <date-time> Specifies the date and time when the first backup was created for the organization. |
| lastBackuptime | string or null <date-time> Specifies the date and time when the last backup was created for the organization. |
| msid | string or null <uuid> Specifies the identification number of the organization assigned by Microsoft. |
| backedUpOrganizationId | string or null Specifies the identification number of the backed-up organization in the backup. |
| isSharepoint | boolean or null Defines whether to add an on-premises SharePoint organization. |
object (RESTSharepointSettings) | |
| isExchange | boolean or null Defines whether to add an on-premises Exchange organization. |
object (RESTExchangeSettings) |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "isTeamsOnline": true,
- "isTeamsChatsOnline": true,
- "configureApplication": true,
- "userCode": "string",
- "newApplicationName": "string",
- "exchangeOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "sharePointOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "isExchangeOnline": true,
- "isSharePointOnline": true,
- "type": "Office365",
- "region": "Worldwide",
- "name": "string",
- "officeName": "string",
- "description": "string",
- "isBackedup": true,
- "firstBackuptime": "2019-08-24T14:15:22Z",
- "lastBackuptime": "2019-08-24T14:15:22Z",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "backedUpOrganizationId": "string",
- "isSharepoint": true,
- "sharepointSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "serverPort": 0,
- "grantAccesstositecollections": true
}, - "isExchange": true,
- "exchangeSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "grantImpersonation": true,
- "configureThrottlingpolicy": true
}
}- 201
- default
{- "isTeamsOnline": true,
- "isTeamsChatsOnline": true,
- "configureApplication": true,
- "userCode": "string",
- "exchangeOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "sharePointOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "isExchangeOnline": true,
- "isSharePointOnline": true,
- "type": "Office365",
- "region": "Worldwide",
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "officeName": "string",
- "description": "string",
- "isBackedup": true,
- "firstBackuptime": "2019-08-24T14:15:22Z",
- "lastBackuptime": "2019-08-24T14:15:22Z",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "backedUpOrganizationId": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "_actions": {
- "property1": {
- "uri": "string",
- "method": "string"
}, - "property2": {
- "uri": "string",
- "method": "string"
}
}, - "isSharepoint": true,
- "sharepointSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "serverPort": 0,
- "grantAccesstositecollections": true
}, - "isExchange": true,
- "exchangeSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "grantImpersonation": true,
- "configureThrottlingpolicy": true
}
}Get Organization by Organization ID
Returns a resource representation of an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
query Parameters
| extendedView | boolean Default: false Defines the representation of the organization properties that will be returned to the client. The following values are available:
|
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "isTeamsOnline": true,
- "isTeamsChatsOnline": true,
- "configureApplication": true,
- "userCode": "string",
- "exchangeOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "sharePointOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "isExchangeOnline": true,
- "isSharePointOnline": true,
- "type": "Office365",
- "region": "Worldwide",
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "officeName": "string",
- "description": "string",
- "isBackedup": true,
- "firstBackuptime": "2019-08-24T14:15:22Z",
- "lastBackuptime": "2019-08-24T14:15:22Z",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "backedUpOrganizationId": "string",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "_actions": {
- "property1": {
- "uri": "string",
- "method": "string"
}, - "property2": {
- "uri": "string",
- "method": "string"
}
}, - "isSharepoint": true,
- "sharepointSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "serverPort": 0,
- "grantAccesstositecollections": true
}, - "isExchange": true,
- "exchangeSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "grantImpersonation": true,
- "configureThrottlingpolicy": true
}
}Edit Organization
Modifies settings of an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
Request Body schema: application/jsonrequired
| isTeamsOnline | boolean or null Defines whether the added organization uses Microsoft Teams and you will be able to back up Microsoft Teams data for this organization. |
| isTeamsChatsOnline | boolean or null Defines whether the added organization uses team chats and you will be able to back up team chats for this organization. |
| configureApplication | boolean or null Defines whether you want to let Veeam Backup for Microsoft 365 automatically assign the certificate and required permissions to the specified Microsoft Entra application. |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. Note: To sign in, open Microsoft Identity platform and specify this device code. |
| newApplicationName write-only | string or null Specifies the name for the Microsoft Entra application. Veeam Backup for Microsoft 365 automatically creates a new Microsoft Entra application with this name in Microsoft Entra ID. |
object or null (RESTOffice365ConnectionSettings) x-veeam-map-to: Veeam.Archiver.Rest.RESTOffice365ConnectionSettings oneway | |
object or null (RESTOffice365ConnectionSettings) x-veeam-map-to: Veeam.Archiver.Rest.RESTOffice365ConnectionSettings oneway | |
| isExchangeOnline | boolean or null Defines whether to add an Exchange Online organization. |
| isSharePointOnline | boolean or null Defines whether to add a SharePoint Online organization. |
| type | string or null (RestOrganizationType) Specifies the organization type. |
| region | string or null (RestOrganizationRegion) Specifies a Microsoft Entra region. |
| name | string Specifies the name of the Microsoft organization. |
| officeName | string Specifies the Microsoft 365 Online name. |
| description | string or null Specifies the Microsoft organization description. |
| isBackedup | boolean or null Defines whether the organizations was backed up. |
| firstBackuptime | string or null <date-time> Specifies the date and time when the first backup was created for the organization. |
| lastBackuptime | string or null <date-time> Specifies the date and time when the last backup was created for the organization. |
| msid | string or null <uuid> Specifies the identification number of the organization assigned by Microsoft. |
| backedUpOrganizationId | string or null Specifies the identification number of the backed-up organization in the backup. |
| isSharepoint | boolean or null Defines whether to add an on-premises SharePoint organization. |
object (RESTSharepointSettings) | |
| isExchange | boolean or null Defines whether to add an on-premises Exchange organization. |
object (RESTExchangeSettings) |
No Content
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "isTeamsOnline": true,
- "isTeamsChatsOnline": true,
- "configureApplication": true,
- "userCode": "string",
- "newApplicationName": "string",
- "exchangeOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "sharePointOnlineSettings": {
- "useApplicationOnlyAuth": true,
- "officeOrganizationName": "string",
- "sharePointSaveAllWebParts": true,
- "account": "string",
- "password": "pa$$word",
- "grantAdminAccess": true,
- "useMfa": true,
- "useCustomVeeamAADApplication": true,
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationSecret": "pa$$word",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "applicationCertificateThumbprint": "string"
}, - "isExchangeOnline": true,
- "isSharePointOnline": true,
- "type": "Office365",
- "region": "Worldwide",
- "name": "string",
- "officeName": "string",
- "description": "string",
- "isBackedup": true,
- "firstBackuptime": "2019-08-24T14:15:22Z",
- "lastBackuptime": "2019-08-24T14:15:22Z",
- "msid": "87dd99df-6b92-4088-9037-e179379ebcf2",
- "backedUpOrganizationId": "string",
- "isSharepoint": true,
- "sharepointSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "serverPort": 0,
- "grantAccesstositecollections": true
}, - "isExchange": true,
- "exchangeSettings": {
- "serverName": "string",
- "username": "string",
- "password": "pa$$word",
- "useSSL": true,
- "skipCAverification": true,
- "skipCommonnameverification": true,
- "skipRevocationcheck": true,
- "grantImpersonation": true,
- "configureThrottlingpolicy": true
}
}- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Remove Organization
Removes an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
No Content
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- default
{- "message": "string",
- "errorCode": "ProxyOffline",
- "stackTrace": "string"
}Get Organization Repositories
Returns a collection of used backup repositories for an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
query Parameters
| limit | integer <int32> Limits the maximum number of items that the server will return on a page. The maximum supported number of items per page is 10,000. The default value is 30. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "repositoryId": "00000000-0000-0000-0000-000000000000",
- "usedSpaceBytes": 0,
- "localCacheUsedSpaceBytes": 0,
- "objectStorageUsedSpaceBytes": 0,
- "isAvailable": true,
- "details": "string",
- "protectedObjectsCount": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Get Tenant Organization
Returns information about Microsoft 365 and on-premises Microsoft organizations that were added as tenants by service providers.
To use this resource, make sure to obtain a token using the same credentials that were used to add the organization instead of credentials of an administrative account. For more information on how to obtain a token, see the Veeam Backup for Microsoft 365 REST API Reference, section Authorization for Organizations with Modern Authentication and Legacy Protocols or Basic Authentication.
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "id": "string",
- "name": "string",
- "description": "string",
- "type": "OnPremises",
- "isBackedup": true,
- "firstBackuptime": "2019-08-24T14:15:22Z",
- "lastBackuptime": "2019-08-24T14:15:22Z",
- "_actions": {
- "property1": {
- "uri": "string",
- "method": "string"
}, - "property2": {
- "uri": "string",
- "method": "string"
}
}
}Create Restore Session for Organization by Organization ID
Creates and starts a restore session to explore and restore data from backups for an organization with the specified ID.
path Parameters
| organizationId required | string <uuid> Specifies the identification number of the Microsoft 365 organization. For more information on how to get this parameter, see Get Organizations. |
Request Body schema: application/jsonrequired
| dateTime | string or null <date-time> Specifies the date and time. |
| type | string or null Specifies a type of the restore session to start. |
| showDeleted | boolean or null Defines whether the restore session will show items that have been removed by the user before the specified date. |
| showAllVersions | boolean or null Defines whether the restore session will show all versions of items that have been modified by the user before the specified date. |
Created
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "dateTime": "2019-08-24T14:15:22Z",
- "type": "Vex",
- "showDeleted": true,
- "showAllVersions": true
}- 201
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "organization": "string",
- "type": "Vex",
- "creationTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "state": "Working",
- "result": "Success",
- "initiatedBy": "string",
- "details": "string",
- "scopeName": "string",
- "clientHost": "string",
- "reason": "string",
- "eTag": 0,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Get Device Code
Allows you to obtain a device code to sign in to Microsoft Identity platform.
Request Body schema: application/jsonrequired
| targetRegion | string or null Specifies the region of the Microsoft 365 organization that you plan to add. |
| loginGraphAppOrganizationId | string or null <uuid> Specifies the identification number of the Microsoft 365 organization in which Microsoft Graph API application you want to log in using the device code. For more information on how to get this parameter, see Get Organizations. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "targetRegion": "Worldwide",
- "loginGraphAppOrganizationId": "40bf0ed1-1d1c-4dbb-9baa-0f077fa14329"
}- 200
- default
{- "userCode": "string",
- "verificationUrl": "string",
- "expiresIn": 0,
- "message": "string"
}Check Device Code
Allows you to check whether a device code was used to sign in to Microsoft Identity platform.
Request Body schema: application/jsonrequired
| userCode required | string Specifies the device code that you want to check whether it was used to sign in to Microsoft Identity platform. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "userCode": "string"
}- 200
- default
{- "authenticated": true
}