Tutorial: Azure Active Directory integration with HR2day by Merces

In this tutorial, you learn how to integrate HR2day by Merces with Azure Active Directory (Azure AD).

Integrating HR2day by Merces with Azure AD provides you with the following benefits:

  • You can control in Azure AD who has access to HR2day by Merces.
  • You can enable your users to automatically get signed in to HR2day by Merces with their Azure AD accounts.
  • You can manage your accounts in one central location--the Azure portal.

For more information about SaaS app integration with Azure AD, see What is application access and single sign-on with Azure Active Directory?.

Prerequisites

To configure Azure AD integration with HR2day by Merces, you need the following items:

  • An Azure AD subscription.
  • An HR2day by Merces single sign-on enabled subscription.

Note

We don't recommend using a production environment to test the steps in this tutorial.

To test the steps in this tutorial, follow these recommendations:

Scenario description

In this tutorial, you test Azure AD single sign-on in a test environment. The scenario that's outlined here consists of two main building blocks:

  1. Adding HR2day by Merces from the gallery.
  2. Configuring and testing Azure AD single sign-on.

To configure the integration of HR2day by Merces into Azure AD, add HR2day by Merces from the gallery to your list of managed SaaS apps.

To add HR2day by Merces from the gallery, take the following steps:

  1. In the Azure portal, on the left navigation pane, select the Azure Active Directory icon.

    Active Directory

  2. Go to Enterprise applications. Then go to All applications.

    Applications

  3. To add a new application, select the New application button on the top of the dialog box.

    Applications

  4. In the search box, type HR2day by Merces.

    Creating an Azure AD test user

  5. In the results panel, select HR2day by Merces, and then select the Add button to add the application.

    Creating an Azure AD test user

Configure and test Azure AD single sign-on

In this section, you configure and test Azure AD single sign-on with HR2day by Merces based on a test user called "Britta Simon."

For single sign-on to work, Azure AD needs to know who the counterpart user in HR2day by Merces is to a user in Azure AD. In other words, you need to establish a link between an Azure AD user and the related user in HR2day by Merces.

In HR2day by Merces, assign the user name in Azure AD to Username to establish the relationship.

To configure and test Azure AD single sign-on with HR2day by Merces, you need to complete the following building blocks:

  1. Configure Azure AD single sign-on: Enable your users to use this feature.
  2. Create an Azure AD test user: Test Azure AD single sign-on with Britta Simon.
  3. Create an HR2day by Merces test user: Create a counterpart of Britta Simon in HR2day by Merces that is linked to the Azure AD representation of user.
  4. Assign the Azure AD test user: Enable Britta Simon to use Azure AD single sign-on.
  5. Test single sign-on: Verify whether the configuration works.

Configure Azure AD single sign-on

In this section, you enable Azure AD single sign-on in the Azure portal and configure single sign-on in your HR2day by Merces application.

To configure Azure AD single sign-on with HR2day by Merces, take the following steps:

  1. In the Azure portal, on the HR2day by Merces application integration page, select Single sign-on.

    Configure single sign-On

  2. To enable single sign-on, in the Single sign-on dialog box, select Mode as SAML-based Sign-on.

    Configure single sign-on

  3. In the HR2day by Merces Domain and URLs section, take the following steps:

    Configure single sign-on

    a. In the Sign-on URL box, type a URL by using the following pattern: https://<tenantname>.force.com/<instancename>.

    b. In the Identifier box, type a URL by using the following pattern: https://hr2day.force.com/<companyname>.

    Note

    These values are not real. Update these values with the actual sign-on URL and identifier. Contact the HR2day by Merces client support team to get these values.

  4. On the SAML Signing Certificate section, select Certificate(Base64), and then save the certificate file on your computer.

    Configure single sign-on

  5. This section describes how to enable users to authenticate to HR2day by Merces with their account in Azure AD. They do this by using federation that's based on the SAML protocol.

    Your HR2day by Merces application expects the SAML assertions in a specific format, which requires you to add custom attribute mappings to your SAML token. The following screenshot shows an example of this.

    Configure single sign-on

    Note

    Before you can configure the SAML assertion, you must contact the HR2day by Merces Client support team and request the value of the unique identifier attribute for your tenant. You need this value to complete the steps in the next section.

  6. In the Single sign-on dialog box, in the User Attributes section, configure the SAML token attribute as shown in the following image. Then take the following steps.

    Attribute name Attribute value
    ATTR_LOGINCLAIM join([mail],"102938475Z","@"

    a. To open the Add Attribute dialog, select Add attribute.

    Configure single sign-on

    Configure single sign-On

    b. In the Name box, type ATTR_LOGINCLAIM.

    c. From the Value list, select Join().

    d. From the String1 list, select user.mail.

    e. For String2, type the unique identifier that's provided by your HR2day team.

    f. In the Separator box, type @.

    g. Select Ok.

  7. Select the Save button.

    Configure single sign-on

  8. In the HR2day by Merces Configuration section, select Configure HR2day by Merces to open the Configure sign-on window. Copy the Sign-Out URL, SAML Entity ID, and SAML Single Sign-On Service URL from the Quick Reference section.

    Configure single sign-on

  9. To configure SSO for your application, contact the HR2day by Merces client support team. Attach the downloaded Certificate(Base64) file to your email. Also provide the Sign-Out URL, SAML Entity ID, and SAML Single Sign-On Service URL so that they can be configured for SSO integration.

    Note

    Mention to the Merces team that this integration needs the Entity ID to be set with the pattern https://hr2day.force.com/INSTANCENAME.

    Tip

    You can now read a concise version of these instructions inside the Azure portal, while you are setting up the app! After you add this app from the Active Directory > Enterprise Applications section, select the Single Sign-On tab. Then access the embedded documentation through the Configuration section at the bottom. You can read more about the embedded documentation feature in the Azure AD embedded documentation.

Create an Azure AD test user

The objective of this section is to create a test user in the Azure portal called Britta Simon.

Create Azure AD User

To create a test user in Azure AD, take the following steps:

  1. In the Azure portal, on the left navigation pane, select the Azure Active Directory icon.

    Creating an Azure AD test user

  2. To display the list of users, go to Users and groups, and then select All users.

    Creating an Azure AD test user

  3. To open the User dialog box, select Add on the top of the dialog box.

    Creating an Azure AD test user

  4. In the User dialog box, take the following steps:

    Creating an Azure AD test user

    a. In the Name box, type BrittaSimon.

    b. In the User name box, type the email address of BrittaSimon.

    c. Select Show Password, and then write down the password.

    d. Select Create.

Create an HR2day by Merces test user

The objective of this section is to create a user called Britta Simon in HR2day by Merces. To add the users in the HR2day account, work with the HR2day by Merces client support team.

Note

If you need to create a user manually, contact the HR2day by Merces client support team.

Assign the Azure AD test user

In this section, you enable Britta Simon to use Azure single sign-on by granting her access to HR2day by Merces.

Assign user

To assign Britta Simon to HR2day by Merces, take the following steps:

  1. In the Azure portal, open the applications view, go to the directory view, and then go to Enterprise applications. Next, select All applications.

    Assign user

  2. In the applications list, select HR2day by Merces.

    Configure single sign-on

  3. In the menu on the left, select Users and groups.

    Assign user

  4. Select the Add button. Then, in the Add Assignment dialog box, select Users and groups.

    Assign user

  5. In the Users and groups dialog box, in the Users list, select Britta Simon.

  6. Click the Select button.

  7. In the Add Assignment dialog box, select Assign.

Test single sign-on

The objective of this section is to test your Azure AD single sign-on configuration by using the Access Panel.

When you select the HR2day by Merces tile in the Access Panel, you automatically get signed in to your HR2day by Merces application.

Additional resources