REST API Settings
Veeam Backup for Microsoft 365 REST API allows other applications to communicate with the Veeam Backup for Microsoft 365 server. You can use REST API in the following cases:
- To automate backup, restore and administration tasks with scripts, or to integrate Veeam Backup for Microsoft 365 with 3rd party applications and custom web portals. For more information, see REST API Reference.
- To use Restore Portal. Restore Portal uses REST API to communicate with the Veeam Backup for Microsoft 365 server and allows users to perform self-service restore. For more information, see Data Restore Using Restore Portal.
- To manage Veeam Backup for Microsoft 365 with Veeam Service Provider Console. Veeam Service Provider Console uses REST API to communicate with the Veeam Backup for Microsoft 365 server. For more information, see Integration with Veeam Service Provider Console.
- To monitor Veeam Backup for Microsoft 365 with Veeam ONE. Veeam ONE collects data from Veeam Backup for Microsoft 365 REST API. For more information, see Integration with Veeam ONE.
To configure Veeam Backup for Microsoft 365 REST API settings, do the following:
- In the main menu, click General Options.
- Open the REST API tab.
- Select the Enable REST service check box.
- In the Authentication token lifetime field, specify the lifetime value for an authentication token (in minutes).
REST API authorization is based on the OAuth 2.0 Authorization Framework.
- In the HTTPS port field, specify a port number which you use to access Veeam Backup for Microsoft 365 REST API Service.
Also, Restore Portal uses this port to communicate with Veeam Backup for Microsoft 365 REST API Service. For more information, see Ports.
|
Note |
|
The default value is 4443. If you use a different port, make sure that you configure the same value for the Restore Portal web address. Otherwise, Restore Portal will be unavailable. For more information, see Register Microsoft Entra Application and Configure Microsoft Entra Application. |
- Click Install to run the Select Certificate wizard and install the REST API certificate. Proceed to any of the following options:
Generate a new self-signed certificate
|
Perform the following steps:
|
Import an existing TLS certificate from the certificate store
|
Perform the following steps:
|
Import a TLS certificate from a file in the PFX format
|
Perform the following steps:
|
- If you want to use Swagger UI, select the Enable Swagger UI check box. If you do not require permanent access, leave the check box clear to reduce the potential attack surface.
- Select the Enable restore operator authentication only check box to use REST API only for authentication of restore operators to Restore Portal. Keep in mind that if you enable this check box, all other REST API endpoints will be unavailable.
- Click OK.






