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:

  1. In the main menu, click General Options.
  2. Open the REST API tab.
  3. Select the Enable REST service check box.
  4. 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.

  1. 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.

  1. 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:

  1. Select the Generate a new self-signed certificate option.

REST API Settings

  1. Specify a certificate name and click Finish.

REST API Settings

Import an existing TLS certificate from the certificate store

Perform the following steps:

  1. Select the Select certificate from the Certificate Store of this server option.

REST API Settings

  1. Select the certificate from the certificate store and click Finish.

Note

A TLS certificate that you want to use must be added to the Personal certificate store. It also must have a private exportable key.

REST API Settings

Import a TLS certificate from a file in the PFX format

Perform the following steps:

  1. Select the Import certificate from a PFX file option.

REST API Settings

  1. Click Browse and select a PFX file. Specify the certificate password if required.

Note

A TLS certificate that you want to use must have a private exportable key.

REST API Settings

  1. Click Finish.
  1. 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.
  2. 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.
  3. Click OK.

REST API Settings

Page updated 2026-06-25

Page content applies to build 8.6.0.5021