Tutorial: Azure Active Directory integration with Adobe Experience Manager

In this tutorial, you learn how to integrate Adobe Experience Manager with Azure Active Directory (Azure AD).

Integrating Adobe Experience Manager with Azure AD provides you with the following benefits:

  • You can control in Azure AD who has access to Adobe Experience Manager.
  • You can enable your users to automatically get signed in to Adobe Experience Manager 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 Adobe Experience Manager, you need the following items:

  • An Azure AD subscription
  • An Adobe Experience Manager 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:

  • Don't use your production environment unless it's necessary.
  • If you don't have an Azure AD trial environment, get a free one-month trial.

Scenario description

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

  1. Adding Adobe Experience Manager from the gallery
  2. Configuring and testing Azure AD single sign-on

To configure the integration of Adobe Experience Manager into Azure AD, you need to add Adobe Experience Manager from the gallery to your list of managed SaaS apps.

To add Adobe Experience Manager from the gallery, take the following steps:

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

    The Azure Active Directory button

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

    The Enterprise applications blade

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

    The New application button

  4. In the search box, type Adobe Experience Manager. Select Adobe Experience Manager from the results panel, and then select the Add button to add the application.

    Adobe Experience Manager in the results list

Configure and test Azure AD single sign-on

In this section, you configure and test Azure AD single sign-on with Adobe Experience Manager based on a test user called "Britta Simon."

For single sign-on to work, Azure AD needs to know who the counterpart user in Adobe Experience Manager 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 Adobe Experience Manager.

In Adobe Experience Manager, give the value Username the same value of the user name in Azure AD. Now you have established the link between the two users.

To configure and test Azure AD single sign-on with Adobe Experience Manager, complete the following building blocks:

  1. Configure Azure AD single sign-on to enable your users to use this feature.
  2. Create an Azure AD test user to test Azure AD single sign-on with Britta Simon.
  3. Create an Adobe Experience Manager test user to have a counterpart of Britta Simon in Adobe Experience Manager that is linked to the Azure AD representation of user.
  4. Assign the Azure AD test user to enable Britta Simon to use Azure AD single sign-on.
  5. Test single sign-on to 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 Adobe Experience Manager application.

To configure Azure AD single sign-on with Adobe Experience Manager, take the following steps:

  1. In the Azure portal, on the Adobe Experience Manager application integration page, select Single sign-on.

    Configure single sign-on link

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

    Single sign-on dialog box

  3. In the Adobe Experience Manager Domain and URLs section, take the following steps if you want to configure the app in IdP mode:

    Adobe Experience Manager Domain and URLs single sign-on information

    a. In the Identifier box, type a unique value that you define on your AEM server as well.

    b. In the Reply URL box, type a URL with the following pattern: https://<AEM Server Url>/saml_login.

    Note

    These values are not real. Update these values with the actual identifier and reply URL. To get these values, contact the Adobe Experience Manager support team.

  4. Check Show advanced URL settings. Then take the following steps if you want to configure the application in SP initiated mode:

    Adobe Experience Manager Domain and URLs single sign-on information

    In the Sign On URL box, type your Adobe Experience Manager server URL.

  5. In the SAML Signing Certificate section, select Certificate (Base64). Then save the certificate file on your computer.

    The Certificate download link

  6. To open the configuration sign-on window in the Adobe Experience Manager Configuration section, select Configure Adobe Experience Manager. Copy the SAML Sign-On Service URL, SAML Entity ID, and Sign-Out ID from the Quick Reference section.

    Configuration section link

  7. Select Save.

    Configure single sign-on save button

  8. In another browser window, open the Adobe Experience Manager admin portal.

  9. Select Settings > Security > Users.

    Configure the single sign-on save button

  10. Select Administrator or any other relevant user.

    Configure Single Sign-On Save button

  11. Select Account settings > Manage TrustStore.

    Configure Single Sign-On Save button

  12. Under Add Certificate from CER file, click Select Certificate File. Browse to and select the certificate file, which you already downloaded from the Azure portal.

    Configure single sign-on save button

  13. The certificate is added to the TrustStore. Note the alias of the certificate.

    Configure Single Sign-On Save button

  14. On the Users page, select authentication-service.

    Configure Single Sign-On Save button

  15. Select Account settings > Create/Manage KeyStore. Create KeyStore by supplying a password.

    Configure Single Sign-On Save button

  16. Go back to the admin screen. Then select Settings > Operations > Web Console.

    Configure Single Sign-On Save button

    This opens the configuration page.

    Configure the single sign-on save button

  17. Find Adobe Granite SAML 2.0 Authentication Handler. Then select the Add icon.

    Configure Single Sign-On Save button

  18. Take the following actions on this page.

    Configure Single Sign-On Save button

    a. In the Path box, enter /.

    b. In the IDP URL box, enter the SAML Sign-On Service URL value that you copied from the Azure portal.

    c. In the IDP Certificate Alias box, enter the Certificate Alias value that you added in TrustStore.

    d. In the Security Provided Entity ID box, enter the unique SAML Entity ID value that you configured in the Azure portal.

    e. In the Assertion Consumer Service URL box, enter the Reply URL value that you configured in the Azure portal.

    f. In the Password of Key Store box, enter the Password that you set in KeyStore.

    g. In the User Attribute ID box, enter the Name ID or another user ID that's relevant in your case.

    h. Select Autocreate CRX Users.

    i. In the Logout URL box, enter the unique Sign-Out URL value that you got from the Azure portal.

    j. Select Save.

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 at 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 an Azure AD test user

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

  1. In the Azure portal, in the left pane, select the Azure Active Directory button.

    The Azure Active Directory button

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

    The "Users and groups" and "All users" links

  3. To open the User dialog box, at the top of the All Users dialog box, select Add.

    The Add button

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

    The User dialog box

    a. In the Name box, type BrittaSimon.

    b. In the User name box, type the email address of user Britta Simon.

    c. Select the Show Password check box. Then write down the value that's displayed in the Password box.

    d. Select Create.

Create an Adobe Experience Manager test user

In this section, you create a user called Britta Simon in Adobe Experience Manager. If you selected the Autocreate CRX Users option, users are created automatically after successful authentication.

If you want to create users manually, work with the Adobe Experience Manager support team to add the users in the Adobe Experience Manager platform.

Assign the Azure AD test user

In this section, you enable Britta Simon to use Azure single sign-on by granting them access to Adobe Experience Manager.

Assign the user role

To assign Britta Simon to Adobe Experience Manager, take the following steps:

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

    Assign User

  2. In the applications list, select Adobe Experience Manager.

    The Adobe Experience Manager link in the Applications list

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

    The "Users and groups" link

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

    The Add Assignment pane

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

  6. In the Users and groups dialog box, click the Select button.

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

Test single sign-on

In this section, you test your Azure AD single sign-on configuration by using the access panel.

When you select the Adobe Experience Manager tile in the access panel, you should get automatically signed in to your Adobe Experience Manager application.

For more information about the access panel, see Introduction to the access panel.

Additional resources