Configuring SSO Settings for Azure Active Directory

For Veeam Backup for Microsoft Azure to be able to use Azure Active Directory as an identity provider, you must perform the following steps to configure SSO settings:

  1. Obtain the service provider authentication settings on the Veeam Backup for Microsoft Azure side.
  2. Configure the SAML single sign-on method for your Azure AD Application.
  3. Forward the service provider authentication settings to your Azure AD Application.
  4. Create a custom claim for your Azure AD Application.
  5. Obtain a file with the identity provider settings.
  6. Import the identity provider settings into the Veeam Backup for Microsoft Azure configuration database.
  7. [Optional] Add SSO users that will be able to access Veeam Backup for Microsoft Azure.

Step 1. Obtain Service Provider Settings

To obtain the service provider authentication settings, do the following:

  1. Switch to the Configuration page.
  1. Navigate to General > Identity Provider.
  1. In the Identity provider configuration section, click Download in the Application configuration section. Veeam Backup for Microsoft Azure will download a metadata file with the service provider authentication settings to your local machine.

Alternatively, you can copy the service provider settings manually:

  1. Click Copy Link in the SP entity ID (issuer) field.
  2. Click Copy Link in the Assertion consumer URL field.

Tip

If you want to sign and encrypt authentication requests sent from Veeam Backup for Microsoft Azure to the identity provider, select a certificate with a private key that will be used to sign and encrypt the requests:

  1. In the Application configuration section, click Select in the Certificate field.
  2. In the Upload Security Certificate window, click Browse to locate the certificate file. In the Password field, specify a password used to open the file.
  3. Click Upload.

 

Obtaining Service Provider Settings

Step 2. Set up SSO with SAML for Azure AD Application

To set up single sign-on with SAML in your Azure Active Directory, do the following:

  1. Log in to the Microsoft Azure portal.
  2. Select the Azure Active Directory to which the backup appliance belongs.
  3. Navigate to Enterprise applications and click New application > Create your own application.
  4. In the Create your own application window, specify a name for your Azure AD application and select the Integrate any other application you don't find in the gallery (Non-gallery) option.
  5. In the newly created application, navigate to Single sign-on and click SAML.

SAML Settings

Step 3. Forward Service Provider Settings to Azure Active Directory

To forward the service provider authentication settings to your Azure Active Directory, do the following:

  1. In the Single sign-on window of your Azure AD application, click Upload metadata file.
  2. In the Upload metadata file window, click the folder icon to locate the file with the service provider settings downloaded at step 1.
  3. Click Add.
  4. In the Basic SAML Configuration window, click Save.

Service Provider Settings

Step 4. Create Claim for Azure AD Application

To authenticate a user whose identity is received from the identity provider, Veeam Backup for Microsoft Azure redirects the user to the identity provider portal. After the user logs in to the portal, the identity provider sends a SAML authentication response to Veeam Backup for Microsoft Azure. The SAML response must contain an attribute whose value will be used by Veeam Backup for Microsoft Azure to identify the user. The attribute value must match the user name that you specify when creating the user account.

For the identity provider to send the required attribute in the SAML authentication response, you must create a claim on the identity provider side and specify username as the outgoing claim name:

  1. In the Single sign-on window of your Azure AD application, locate the Attributes & Claims section and click Edit.
  2. Click Add new claim.
  3. In the Manage claim window, specify the following settings:
  1. In the Name field, enter Username.
  2. In the Choose name format section, select the Attribute option. In the Source attribute field, enter user.userprincipalname.
  3. Click Save.

Creating AAD Claim Rule

Step 5. Obtain Azure Active Directory Metadata

To obtain the Azure Active Directory identity provider settings, do the following:

  1. In the Single sign-on window of your Azure AD application, locate the Federation Metadata XML field in the SAML Certificates section.
  2. Click Download.

Importing AAD Metadata

Step 6. Import Azure Active Directory Metadata

To import the obtained Azure Active Directory identity provider settings, do the following:

  1. Switch to the Configuration page.
  2. Navigate to General > Identity Provider.
  3. In the Identity provider configuration section:
  1. Click Upload Metadata.
  2. In the Upload Identity Provider Configuration window, click Browse to locate the file with the identity provider settings.
  3. Click Upload.

Importing AAD Metadata

[Optional] Step 7. Add SSO Users

To add users that will be able to access Veeam Backup for Microsoft Azure using single sign-on, do the following:

  1. In the Single sign-on window of your Azure AD application, navigate to Users and groups.
  2. Click Add user/group.
  3. In the Add assignment window, click None selected and select users in the Users list.

Important

Make sure that emails of the selected users match user names of their user accounts added to Veeam Backup for Microsoft Azure.

Adding Users in AD Application