- 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 /RestoreSessions/{restoreSessionId}/organization/teams resource collection represents Microsoft Teams teams to explore and restore data and allows you to manage data in backed-up teams.
Get Teams
Returns a collection of backed-up teams to explore and restore Microsoft Teams data.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
query Parameters
| displayName | string Specifies the display name of the teams whose representation you want to get from the server. The server will return a representation of the teams whose display name contains the value that you specified for this parameter. To filter objects, you can use * and ? wildcard characters. |
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
| 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. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "displayName": "string",
- "description": "string",
- "groupEmail": "string",
- "alias": "string",
- "privacy": "Public",
- "settings": {
- "preferredDataLocation": "string",
- "allowExternalSenders": true,
- "autoSubscribeNewMembers": true,
- "funSettings": {
- "allowCustomMemes": true,
- "allowGiphy": true,
- "allowStickersAndMemes": true,
- "giphyContentRating": "Moderate"
}, - "guestSettings": {
- "allowCreateUpdateChannels": true,
- "allowDeleteChannels": true
}, - "memberSettings": {
- "allowCreatePrivateChannel": true,
- "allowCreateUpdateChannel": true,
- "allowDeleteChannel": true,
- "allowAddRemoveApp": true,
- "allowCreateUpdateRemoveTab": true,
- "allowCreateUpdateRemoveConnector": true
}, - "messagingSettings": {
- "allowUserEditMessage": true,
- "allowUserDeleteMessage": true,
- "allowOwnerDeleteMessage": true,
- "allowTeamMention": true,
- "allowChannelMention": true
}
}, - "isArchived": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Get Team
Returns a resource representation of a backed-up team with the specified ID.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| teamId required | string <uuid> Specifies the identification number of the team. For more information on how to get this parameter, see Get Teams. |
OK
Operation failure response.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- default
{- "id": "00000000-0000-0000-0000-000000000000",
- "displayName": "string",
- "description": "string",
- "groupEmail": "string",
- "alias": "string",
- "privacy": "Public",
- "settings": {
- "preferredDataLocation": "string",
- "allowExternalSenders": true,
- "autoSubscribeNewMembers": true,
- "funSettings": {
- "allowCustomMemes": true,
- "allowGiphy": true,
- "allowStickersAndMemes": true,
- "giphyContentRating": "Moderate"
}, - "guestSettings": {
- "allowCreateUpdateChannels": true,
- "allowDeleteChannels": true
}, - "memberSettings": {
- "allowCreatePrivateChannel": true,
- "allowCreateUpdateChannel": true,
- "allowDeleteChannel": true,
- "allowAddRemoveApp": true,
- "allowCreateUpdateRemoveTab": true,
- "allowCreateUpdateRemoveConnector": true
}, - "messagingSettings": {
- "allowUserEditMessage": true,
- "allowUserDeleteMessage": true,
- "allowOwnerDeleteMessage": true,
- "allowTeamMention": true,
- "allowChannelMention": true
}
}, - "isArchived": true,
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Restore Teams
Restores backed-up teams.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
Request Body schema: application/jsonrequired
| restoreChangedItems required | boolean or null Defines whether to restore team items that have been modified in the original location since the time when the backup was created. |
| restoreMembers required | boolean or null Defines whether to restore members of the restored team along with their roles. |
| restoreMissingItems required | boolean or null Defines whether to restore team items that are missed in the original location. |
| restoreSettings required | boolean or null Defines whether to restore settings of the restored team. |
Array of objects (RESTTeamsTeam) Specifies IDs of the teams that you want to restore. For more information on how to get such IDs, see Get Teams. | |
| impersonationAccountName | string Specifies a user name of the account that will be used as a team owner account to restore a team. This may be useful if you restore a previously removed team at the time when the original team owner account does not exist in Microsoft 365. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. This property is required if you want to use a device code for data restore. |
| applicationId | string or null <uuid> Specifies the ID of the Microsoft Entra application that you want to use for restore. |
| applicationCertificate | string Specifies the SSL certificate configured for the Microsoft Entra application that you want to use for data restore. You must provide the certificate as a Base64 string. |
| applicationCertificatePassword | string <password> (SecureString) Specifies a password. |
| userName | string Specifies the user name that you want to use for authenticating to the organization. |
| userPassword | string <password> (SecureString) Specifies a password. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "teams": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "displayName": "string",
- "description": "string",
- "groupEmail": "string",
- "alias": "string",
- "privacy": "Public",
- "settings": {
- "preferredDataLocation": "string",
- "allowExternalSenders": true,
- "autoSubscribeNewMembers": true,
- "funSettings": {
- "allowCustomMemes": true,
- "allowGiphy": true,
- "allowStickersAndMemes": true,
- "giphyContentRating": "Moderate"
}, - "guestSettings": {
- "allowCreateUpdateChannels": true,
- "allowDeleteChannels": true
}, - "memberSettings": {
- "allowCreatePrivateChannel": true,
- "allowCreateUpdateChannel": true,
- "allowDeleteChannel": true,
- "allowAddRemoveApp": true,
- "allowCreateUpdateRemoveTab": true,
- "allowCreateUpdateRemoveConnector": true
}, - "messagingSettings": {
- "allowUserEditMessage": true,
- "allowUserDeleteMessage": true,
- "allowOwnerDeleteMessage": true,
- "allowTeamMention": true,
- "allowChannelMention": true
}
}, - "isArchived": true
}
], - "restoreChangedItems": true,
- "restoreMissingItems": true,
- "restoreMembers": true,
- "restoreSettings": true,
- "impersonationAccountName": "string",
- "userCode": "string",
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "userName": "string",
- "userPassword": "pa$$word"
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}Restore Teams by Restore Operator
Restores backed-up teams using Restore Portal. For more information about Restore Portal, see the Data Restore Using Restore Portal section of the Veeam Backup for Microsoft 365 User Guide.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
Request Body schema: application/jsonrequired
| restoreChangedItems required | boolean or null Defines whether to restore team items that have been modified in the original location since the time when the backup was created. |
| restoreMembers required | boolean or null Defines whether to restore members of the restored team along with their roles. |
| restoreMissingItems required | boolean or null Defines whether to restore team items that are missed in the original location. |
| restoreSettings required | boolean or null Defines whether to restore settings of the restored team. |
| impersonationAccountName required | string Specifies a user name of the account that will be used as a team owner account to restore a team. This may be useful if you restore a previously removed team at the time when the original team owner account does not exist in Microsoft 365. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
Array of objects (RESTTeamsTeam) Specifies IDs of the teams that you want to restore. For more information on how to get such IDs, see Get Teams. | |
| reason | string Specifies a reason for the restore operation. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "teams": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "displayName": "string",
- "description": "string",
- "groupEmail": "string",
- "alias": "string",
- "privacy": "Public",
- "settings": {
- "preferredDataLocation": "string",
- "allowExternalSenders": true,
- "autoSubscribeNewMembers": true,
- "funSettings": {
- "allowCustomMemes": true,
- "allowGiphy": true,
- "allowStickersAndMemes": true,
- "giphyContentRating": "Moderate"
}, - "guestSettings": {
- "allowCreateUpdateChannels": true,
- "allowDeleteChannels": true
}, - "memberSettings": {
- "allowCreatePrivateChannel": true,
- "allowCreateUpdateChannel": true,
- "allowDeleteChannel": true,
- "allowAddRemoveApp": true,
- "allowCreateUpdateRemoveTab": true,
- "allowCreateUpdateRemoveConnector": true
}, - "messagingSettings": {
- "allowUserEditMessage": true,
- "allowUserDeleteMessage": true,
- "allowOwnerDeleteMessage": true,
- "allowTeamMention": true,
- "allowChannelMention": true
}
}, - "isArchived": true
}
], - "restoreChangedItems": true,
- "restoreMissingItems": true,
- "restoreMembers": true,
- "restoreSettings": true,
- "reason": "string",
- "impersonationAccountName": "string"
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}Search for Teams Items in Team
Searches for Microsoft Teams items in a backed-up team with the specified ID.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| teamId required | string <uuid> Specifies the identification number of the team. For more information on how to get this parameter, see Get Teams. |
query Parameters
| offset | integer <int32> Excludes from a response page the first N items of a collection resource. The default value is 0. |
| 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. |
Request Body schema: application/jsonrequired
| query required | string Specifies query parameters used to search for Microsoft Teams items. For the complete list of supported query parameters, see the Appendix A. Item Search Parameters section of the Veeam Backup for Microsoft 365 User Guide. |
| type required | string Specifies the type of Microsoft Teams items that you want to find. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "type": "Tabs",
- "query": "string"
}- 200
- default
{- "offset": 0,
- "limit": 0,
- "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3",
- "results": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "sizeBytes": 0,
- "version": 0,
- "uiVersion": "string",
- "modified": "2019-08-24T14:15:22Z",
- "modifiedBy": "string",
- "channelId": "string",
- "teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",
- "fileType": "File",
- "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}, - "postId": 0,
- "changeKey": "string",
- "isImportant": true,
- "author": "string",
- "subject": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "lastModifiedTime": "2019-08-24T14:15:22Z",
- "isDeleted": true,
- "parentId": 0,
- "parentChangeKey": "string",
- "attachments": [
- {
- "name": "string",
- "longFileName": "string",
- "url": "string"
}
], - "displayName": "string",
- "contentUrl": "string",
- "type": "string"
}
], - "_links": {
- "property1": {
- "href": "string"
}, - "property2": {
- "href": "string"
}
}
}Restore Team
Restores a backed-up team with the specified ID.
path Parameters
| restoreSessionId required | string <uuid> Specifies the identification number of the restore session. For more information on how to get this parameter, see Get Restore Sessions. |
| teamId required | string <uuid> Specifies the identification number of the team. For more information on how to get this parameter, see Get Teams. |
Request Body schema: application/jsonrequired
| restoreChangedItems required | boolean or null Defines whether to restore team items that have been modified in the original location since the time when the backup was created. |
| restoreMembers required | boolean or null Defines whether to restore members of the restored team along with their roles. |
| restoreMissingItems required | boolean or null Defines whether to restore team items that are missed in the original location. |
| restoreSettings required | boolean or null Defines whether to restore settings of the restored team. |
Array of objects (RESTTeamsTeam) Specifies IDs of the teams that you want to restore. For more information on how to get such IDs, see Get Teams. | |
| impersonationAccountName | string Specifies a user name of the account that will be used as a team owner account to restore a team. This may be useful if you restore a previously removed team at the time when the original team owner account does not exist in Microsoft 365. Note: This property is required if you want to use an application certificate for data restore. Use this property only with the |
| userCode | string Specifies the authentication code. For more information on how to get a device code, see Get Device Code. This property is required if you want to use a device code for data restore. |
| applicationId | string or null <uuid> Specifies the ID of the Microsoft Entra application that you want to use for restore. |
| applicationCertificate | string Specifies the SSL certificate configured for the Microsoft Entra application that you want to use for data restore. You must provide the certificate as a Base64 string. |
| applicationCertificatePassword | string <password> (SecureString) Specifies a password. |
| userName | string Specifies the user name that you want to use for authenticating to the organization. |
| userPassword | string <password> (SecureString) Specifies a password. |
OK
Operation failure response.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "teams": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "displayName": "string",
- "description": "string",
- "groupEmail": "string",
- "alias": "string",
- "privacy": "Public",
- "settings": {
- "preferredDataLocation": "string",
- "allowExternalSenders": true,
- "autoSubscribeNewMembers": true,
- "funSettings": {
- "allowCustomMemes": true,
- "allowGiphy": true,
- "allowStickersAndMemes": true,
- "giphyContentRating": "Moderate"
}, - "guestSettings": {
- "allowCreateUpdateChannels": true,
- "allowDeleteChannels": true
}, - "memberSettings": {
- "allowCreatePrivateChannel": true,
- "allowCreateUpdateChannel": true,
- "allowDeleteChannel": true,
- "allowAddRemoveApp": true,
- "allowCreateUpdateRemoveTab": true,
- "allowCreateUpdateRemoveConnector": true
}, - "messagingSettings": {
- "allowUserEditMessage": true,
- "allowUserDeleteMessage": true,
- "allowOwnerDeleteMessage": true,
- "allowTeamMention": true,
- "allowChannelMention": true
}
}, - "isArchived": true
}
], - "restoreChangedItems": true,
- "restoreMissingItems": true,
- "restoreMembers": true,
- "restoreSettings": true,
- "impersonationAccountName": "string",
- "userCode": "string",
- "applicationId": "00000000-0000-0000-0000-000000000000",
- "applicationCertificate": "string",
- "applicationCertificatePassword": "pa$$word",
- "userName": "string",
- "userPassword": "pa$$word"
}- 200
- default
{- "sessionId": "00000000-0000-0000-0000-000000000000"
}