BMS Auth & Provision | BMS and Azure - SAML 2.0 Single Sign-on (SSO) Just-in-Time (JIT) Provisioning

Azure Setup

Prerequisites

  1. You should have an active Azure (https://portal.azure.com) account.
  2. In order to set up BMS with Azure, you need to add it as a new enterprise application.

Adding a New Application

  1. Log into (https://portal.azure.com).
  2. On the left panel, select Azure Active Directory.
    BMS_Azure_Int1.PNG
  3. Select Enterprise applications.
    BMS_Azure_Int2.PNG
  4. Click New application.
    BMS_Azure_Int3.PNG
  5. Select Non-gallery application.
    BMS_Azure_Int4.PNG
  6. Provide a name to your new application and then click Add.
    BMS_Azure_Int5.PNG
  7. Select Single sign-on in the menu and then select SAML.
    BMS_Azure_Int6.PNG
  8. Edit the Basic SAML Configuration box.
    BMS_Azure_Int7.PNG
  9. Enter the following URLs in the fields provided, replacing subdomain with your subdomain:
  10. Return to the setup screen.
  11. Modify the User Attributes & Claims box as follows:
    • Delete all default additional claims from the list.
    • Click Add new claim to add the following claims. (Leave Namespace blank when adding claims.):
      • CompanyName > (enter the Company Name as displayed under My Profile in the BMS Web App).
      • Email > user.userprincipalname
      • FirstName > user.givenname
      • LastName > user.surname
      • Username > user.userprincipalname
    • Click Add a group claim to add a group claim.
      • Select Security groups.
      • For Source attribute, select Group ID.
      • Under Advanced Options, check Customize the name of the group claim then enter SecurityGroup as the name and click Save.
        BMS_Azure_Int8.PNG
    • When complete, the User Attributes & Claims section should look as follows:
      BMS_Azure_Int9.PNG
  12. Edit the SAML Signing Certificate box as follows:
    • Signing Option – Select Sign SAML response and assertion
    • Signing Algorithm – Select SHA-256
      BMS_Azure_Int10.PNG

Downloading the Certificate

In the setup screen, click the SAML Signing Certificate box, then download the certificate.
BMS_Azure_Int11.PNG

BMS Setup

  1. In BMS you need to set up the system to enable SAML authentication and that can be achieved under Admin > My Company > Authentication.
  2. In the Single Sign On tab, upload the certificate downloaded previously, and set Enable Single Sign On via SAML to Yes, and then click Save.
    BMS_Azure_Int12.PNG

This will enable BMS SAML authentication.

Azure Application Assignment

Once the application is created, you have to assign users or user groups to this application.

  1. Select the Users and groups tab in the left-hand menu.
  2. Click Add user to assign users or user groups to this application.
    BMS_Azure_Int13.PNG

When a user is assigned, perform the following steps to make sure that SSO is working:

  1. Log out and close the Azure management portal and the Azure AD access panel.
  2. In a new browser session, navigate directly to the access panel at http://myapps.microsoft.com.
    BMS_Azure_Int14.PNG
  3. Enter your Azure AD credentials to log in. After authentication, you will be able to interact with the applications integrated with the directory.
  4. Click on the BMS SSO application you created to be redirected and logged into BMS.

Enabling Two Way SAML Login

  1. To launch Azure during the login from BMS, you need to enable two-way SAML integration. To do this, you will need your Azure login URL that can be found here:
    BMS_Azure_Int15.PNG
  2. Once you have this URL, you will need to save it in BMS under the Authentication page:
    BMS_Azure_Int16.PNG
  3. This will allow you to leverage the Azure login screen when users are trying to log into BMS. You can enable this on the user level by updating the Authentication Type at the Employee level:
    BMS_Azure_Int17.PNG

Enabling JIT Provisioning

  1. To enable Just-in-Time (JIT) provisioning, you will need to do it from the BMS authentication page.
    BMS_Azure_Int18.PNG
  2. By default, all users will take the Default Security Roles specified in the above Employee Defaults section. To start mapping Active Directory Groups to BMS Security Roles, you will need to Add Mapping Rules as following:
    BMS_Azure_Int19.PNG

    Note: For Security Group, you must use the ‘Object Id’ value associated with the Group in Azure AD.


    BMS_Azure_Int20.PNG
  3. By adding multiple rules, you can now start routing Active Directory users to BMS security roles based on domain and security group.

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section