Tutorial: Microsoft Entra single sign-on (SSO) integration with Veracode

In this tutorial, you'll learn how to integrate Veracode with Microsoft Entra ID. When you integrate Veracode with Microsoft Entra ID, you can:

  • Control in Microsoft Entra ID who has access to Veracode.
  • Enable your users to be automatically signed-in to Veracode with their Microsoft Entra accounts.
  • Manage your accounts in one central location: the Azure portal.


To get started, you need the following items:

  • A Microsoft Entra subscription. If you don't have a subscription, you can get a free account.
  • A Veracode single sign-on (SSO)-enabled subscription.

Scenario description

In this tutorial, you configure and test Microsoft Entra SSO in a test environment. Veracode supports identity provider initiated SSO and just-in-time user provisioning.

To configure the integration of Veracode into Microsoft Entra ID, add Veracode from the gallery to your list of managed SaaS apps.

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
  2. Browse to Identity > Applications > Enterprise applications > New application.
  3. In the Add from the gallery section, type "Veracode" in the search box.
  4. Select Veracode from the results panel, and then add the app. Wait a few seconds while the app is added to your tenant.

Alternatively, you can also use the Enterprise App Configuration Wizard. In this wizard, you can add an application to your tenant, add users/groups to the app, assign roles, as well as walk through the SSO configuration as well. Learn more about Microsoft 365 wizards.

Configure and test Microsoft Entra SSO for Veracode

Configure and test Microsoft Entra SSO with Veracode by using a test user called B.Simon. For SSO to work, you must establish a link between a Microsoft Entra user and the related user in Veracode.

To configure and test Microsoft Entra SSO with Veracode, perform the following steps:

  1. Configure Microsoft Entra SSO to enable your users to use this feature.
  2. Configure Veracode SSO to configure the single sign-on settings on the application side.
  3. Test SSO to verify whether the configuration works.

Configure Microsoft Entra SSO

Follow these steps to enable Microsoft Entra SSO.

  1. In the Microsoft Entra ID navigate to the Veracode application page under Enterprise Applications, scroll down to the Manage section, and click on single sign-on.

  2. Again under the Manage tab, click on Single sign-on, then select SAML.

  3. On the Set up single sign-on with SAML page, select the pencil icon for Basic SAML Configuration to edit the settings.

    Edit Basic SAML Configuration

  4. The Relay state field should be autopopulated with https://web.analysiscenter.veracode.com/login/#/saml. The rest of these fields will populate after setting up SAML within the Veracode Platform.

  5. On the Set up single sign-on with SAML page, in the SAML Signing Certificate section, find Certificate (Base64). Select Download to download the certificate and save it on your computer.

    Screenshot of SAML Signing Certificate section, with Download link highlighted.

  6. Veracode expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token attributes configuration. The following screenshot shows the list of default attributes.

    Screenshot of User Attributes & Claims section.

  7. Veracode also expects a few more attributes to be passed back in the SAML response. These attributes are also pre-populated, but you can review them per your requirements.

    Name Source attribute
    firstname User.givenname
    lastname User.surname
    email User.mail
  8. On the Set up Veracode section, copy and save the provided URLs to use later in your Veracode Platform SAML setup.

    Screenshot of Set up Veracode section, with configuration URLs highlighted.

Create a Microsoft Entra test user

In this section, you'll create a test user called B.Simon.

  1. Sign in to the Microsoft Entra admin center as at least a User Administrator.
  2. Browse to Identity > Users > All users.
  3. Select New user > Create new user, at the top of the screen.
  4. In the User properties, follow these steps:
    1. In the Display name field, enter B.Simon.
    2. In the User principal name field, enter the username@companydomain.extension. For example, B.Simon@contoso.com.
    3. Select the Show password check box, and then write down the value that's displayed in the Password box.
    4. Select Review + create.
  5. Select Create.

Assign the Microsoft Entra test user

In this section, you'll enable B.Simon to use single sign-on by granting access to Veracode.

  1. Sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator.
  2. Browse to Identity > Applications > Enterprise applications > Veracode.
  3. In the app's overview page, select Users and groups.
  4. Select Add user/group, then select Users and groups in the Add Assignment dialog.
    1. In the Users and groups dialog, select B.Simon from the Users list, then click the Select button at the bottom of the screen.
    2. If you are expecting a role to be assigned to the users, you can select it from the Select a role dropdown. If no role has been set up for this app, you see "Default Access" role selected.
    3. In the Add Assignment dialog, click the Assign button.

Configure Veracode SSO


  1. In a different web browser window, sign in to your Veracode company site as an administrator.

  2. From the menu on the top, select Settings > Admin.

    Screenshot of Veracode Administration, with Settings icon and Admin highlighted.

  3. Select the SAML Certificate tab.

  4. In the SAML Certificate section, perform the following steps:

    Screenshot of Organization SAML Settings section.

    a. For Issuer, paste the value of the Microsoft Entra Identifier that you've copied.

    b. For IdP Server URL, paste the value of the Logout URL that you've copied.

    c. For Assertion Signing Certificate, select Choose File to upload your downloaded certificate.

    d. Note the values of the three URLs (SAML Assertion URL, SAML Audience URL, Relay state URL).

    e. Click Save.

  5. Take the values of the SAML Assertion URL, SAML Audience URL and Relay state URL and update them in the Microsoft Entra settings for the Veracode integration (follow the table below for proper conversions) NOTE: Relay State is NOT optional.

    Veracode URL Microsoft Entra ID Field
    SAML Audience URL Identifier (Entity ID)
    SAML Assertion URL Reply URL (Assertion Consumer Service URL)
    Relay State URL Relay State
  6. Select the JIT Provisioning tab.

    Screenshot of JIT Provisioning tab, with various options highlighted.

  7. In the Organization Settings section, toggle the Configure Default Settings for Just-in-Time user provisioning setting to On.

  8. In the Basic Settings section, for User Data Updates, select Prefer Veracode User Data. This will cause conflicts between data passed in the SAML assertion from Microsoft Entra ID and user data in the Veracode platform to be resolved using the Veracode user data.

  9. In the Access Settings section, under User Roles, select from the following For more information about Veracode user roles, see the Veracode Documentation:

    Screenshot of JIT Provisioning User Roles, with various options highlighted.

    • Policy Administrator
    • Reviewer
    • Security Lead
    • Executive
    • Submitter
    • Creator
    • All Scan Types

Create Veracode test user

In this section, a user called B.Simon is created in Veracode. Veracode supports just-in-time user provisioning, which is enabled by default. There's no action item for you in this section. If a user doesn't already exist in Veracode, a new one is created after authentication.


You can use any other Veracode user account creation tools or APIs provided by Veracode to provision Microsoft Entra user accounts.

Test SSO

In this section, you test your Microsoft Entra single sign-on configuration with following options.

  • Click on Test this application, and you should be automatically signed in to the Veracode for which you set up the SSO.

  • You can use Microsoft My Apps. When you click the Veracode tile in the My Apps, you should be automatically signed in to the Veracode for which you set up the SSO. For more information about the My Apps, see Introduction to the My Apps.

Next steps

Once you configure Veracode you can enforce session control, which protects exfiltration and infiltration of your organization’s sensitive data in real time. Session control extends from Conditional Access. Learn how to enforce session control with Microsoft Defender for Cloud Apps.