Skip to main content
Azure Active Directory (AD) is now Microsoft Entra ID.
Aviatrix allows for centralized management of user access by integrating with your chosen Identity Provider (IdP) via SAML. This allows you to control user access to Controller and CoPilot, as well as user access to the cloud environment using Aviatrix UserVPN (if desired). This guide provides an example on how to configure Aviatrix to authenticate against Entra AD IdP. When SAML is configured, your Aviatrix CoPilot acts as the Service Provider (SP) that redirects browser traffic from client to IdP (e.g., Entra ID) for authentication.

Pre-Deployment Checklist

Before configuring SAML integration between Aviatrix and Entra ID, make sure the following is completed:
  1. The Aviatrix Controller and CoPilot are deployed.
  2. You have an Azure account.
  3. You have downloaded and installed the Aviatrix SAML VPN client (if you are configuring access to the cloud environment using Aviatrix UserVPN).

Aviatrix VPN Client

If configuring Aviatrix VPN access, download the client for your OS here.

Custom SAML Request Template

This can be used in either the Controller/CoPilot or the UserVPN SAML setup.

Configuration Steps

Follow these steps to configure Aviatrix to authenticate against your Entra ID IdP:
  1. Create a SAML Endpoint in Aviatrix CoPilot:
    • For controlling user access to Controller and CoPilot: Administration > User Access > Access Management
    • For controlling user access to the cloud environment using UserVPN: Cloud Fabric > UserVPN > Settings
  2. Create an Entra ID SAML Application for Aviatrix in the Azure Console.

Entra ID Custom SAML Application

Before you start, pick a short name to be used for the SAML application name. In the notes below we will refer to this as aviatrix_EntraID. The string you select for the SAML application name is used to generate a URL for Azure AD to connect with Aviatrix. This URL is defined below as SP_ACS_URL. This URL should be constructed as:
“https://<your Controller IP or host name>/flask/saml/sso/<aviatrix_EntraID>”
Replace <your Controller IP or host name> with the actual host name or IP address of your Controller and <aviatrix_EntraID> with the string you chose to refer to the SAML application.

Creating the SAML Endpoint

In CoPilot, go to one of the following locations, depending on your objective:

Access Management (Controller/CoPilot)

  1. At Administration > User Access > Access Management, click +SAML Endpoint and populate the Create SAML Endpoint dialog as follows.
  2. Click Save.
  3. After saving your configuration, click the three dot icon icon and select Copy Assertion Consumer Service URL. This is the endpoint that needs to be configured in the IdP.

User Cloud Environment Access (UserVPN)

  1. At Cloud Fabric > UserVPN > Settings, click +SAML Endpoint and populate the Create SAML Endpoint dialog as follows.
  2. Click Save.
  3. After saving your configuration, click the three dot icon icon next to the SAML endpoint and select Copy Assertion Consumer Service URL. This is the endpoint that must be configured in the IdP.

Configuring an Enterprise Application in Entra ID (Azure AD) for Aviatrix SAML Authentication

This procedure is the same regardless of whether you are configuring for CoPilot/Controller or for cloud environment access.
You must be an administrator to add new Enterprise Applications.Creating your own application (custom applications) requires an Azure AD Premium subscription.
  1. Log into your Azure portal and search for ‘Entra ID’ (formerly Azure AD).
  2. On the Microsoft Entra ID page, select Enterprise Applications from the left-hand menu.
  3. Click +New application.
  4. Click Create your own application.
  5. Enter a name for the application.
  6. Select the Integrate any other application you don’t find in the gallery (Non-gallery) option and click Create.
  7. On the application Overview page, click Get started under “Set up single sign on”.
  8. Select the SAML single sign-on method.
  9. On the SAML-based Sign-on page, click Edit next to Basic SAML Configuration. The Basic SAML Configuration page displays. SAML Entra ID Configuration
  10. Enter the following information:
    • Identifer (Entity ID): paste the URL of your Controller. If you have additional Controllers, you can add additional identifiers (and configure SAML on the associated CoPilot instance).
    • Reply URL (Assertion Consumer Service URL) field: paste the recently copied Assertion Consumer Service URL that became available after creating the SAML endpoint in CoPilot.
    • The other fields are optional.
For the Entity ID and the Reply URL, enter both the hostname and the IP address.
  1. Save the configuration.

Adding Users and Groups

If you have not already done so, create the necessary groups and users for SAML access. Aviatrix recommends creating the following groups: AviatrixAdmins, AviatrixUsers, AviatrixReadOnlyUsers, and AviatrixSecOPs.
  1. Add groups from the Entra ID main menu by selecting Groups (as shown below). Entra ID Groups
  2. On the All groups page, click New Group to create groups that meet your access requirements. Entra ID Add Group
  3. After the groups are created, add users to the groups. Entra ID Add Group 2
  4. After the groups and group memberships are created, return to the recently created Enterprise application and assign users to the enterprise application?

Adding a Claim for Single Sign On

  1. Next, on the Enterprise application Overview page, click Set up single sign-on and configure Attributes & Claims.
  2. Click Add new claim. SAML Entra ID Config
  3. Add new claims for the following as per the above screenshot (using the values shown above):
    • Email
    • First Name
    • Last Name
    • Profile
  4. In the Profile claim, add conditions similar to the folloiwng for the user groups you created (the below is for example purposes only). SAML Entra ID Config 2
  5. Once you have configured all necessary groups, save the claim configuration.

Finishing the Configuration

  1. Return to the Entra ID Overview page and copy the App Federation Metadata URL. SAML Entra ID Config 3
  2. In CoPilot, click the Edit edit icon icon for the SAML endpoint you created.
  3. Paste the copied metadata into the URL field.
  4. Click Save.
  5. To validate, click the Test link for the SAML endpoint.