---
title: Azure AD Configuration
slug: kronpam-reference-guide-3-9-0/azure-ad-configuration
description: Learn how to set up a Kron PAM application for SAML SSO in Azure Active Directory with this comprehensive guide. Follow our step-by-step instructions to create the application, configure SAML settings, download and copy the SAML certificate, and establish
docTags: 
createdAt: 2022-12-23T08:42:59.000Z
---

Log in to Azure Active Directory with a user who has the required administrative rights and follow the below steps to create a Kron PAM application for SAML SSO.

1. Click **Enterprise Applications.**
2. Click **New Application.**
3. Click **Create your own application.**
4. Give your app a name.

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/hZbssnYqbFgNu6CmioWSh_image.png" size="68" width="885" height="551" position="center" caption="Create your own application" darkWidth="885" darkHeight="551" showCaption="true"}

- Go to the newly created Kron PAM Application on Azure Portal.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/9udFkfT-9Ggxvi91wZQIj_image.png)

- On the left pane, choose **Single Sign-on** under the Manage heading.
- Click **edit&#x20;**&#x66;or **Basic SAML Configuration&#x20;**&#x6F;n Azure Portal.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/GdcIbpJo7xLfnYgDYjx_J_image.png "Basic SAML Configuration")

- Fill the fields in accordance with the access information of your Kron PAM installation.

:::hint{type="info"}
The IP address of the Kron PAM app will change according to your environment. These examples use the address 10.10.10.10 for convenience.
:::

**Identifier (Entity ID)**:
https\://10.10.10.10/aioc-rest-web/servlet/saml/samlCheck

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/3T5g16fswIBqal2jH249b_image.png "Entity ID")

**Reply URL:**
https\://10.10.10.10/aioc-rest-web/servlet/saml/samlRecipient

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/s_1Al4kLzPJOxKIwIQzIL_image.png "Reply URL")

**Logout Url**:
https\://10.10.10.10/aioc-rest-web/servlet/saml/samlLogout

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/qyJJawQ1j5S5EVazbD9Mp_image.png "Logout URL")

After making the above configurations, the basic SAML Conf. tab can be closed.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/qm8afdr5XRkSQsEXovON8_image.png)

- Go to **Step 3&#x20;**&#x66;or SAML Certificates on Azure Portal.
  - Download the Certificate (Base 64) and open it with Notepad, and copy the entire text.
  - We will paste it to the SAML configuration on Kron PAM as **SAML X509 Certf. Key.**
- Go to **Administration** > **System Configuration Manager** > **Integration** > **SAML Configuration.**

:::hint{type="warning"}
Keep the SAML Configuration modal on Kron PAM open for further configurations.
:::

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/dA5eUlAJ5GDXxhiSzHVY0_image.png)

:::hint{type="info"}
Click the checkbox to **enable SAML** on the SAML Configuration popup on Kron PAM.
:::

- Go to **Step 4** for Kron PAM Configurations on Azure Portal.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ghkQ2G-R3fHuO6ngXUQQj_image.png "Set up Kron PAM")

We will copy the above configurations from the Azure portal and paste them as the SAML configuration on Kron PAM.&#x20;

The login URL from the Azure portal will be pasted as the **SAML Logout URL in the SAML Configuration.&#x20;**

The Microsoft Entra ID Identifier from the Azure portal will be pasted as **SAML Entity ID&#x20;**&#x69;n the SAML configuration.

:::hint{type="warning"}
Keep the SAML Configuration modal on Kron PAM open for further configurations.
:::

1. Go to **Properties** under Manage on the left pane of the Azure portal for configured applications.

::Image[Copy the User access URL and paste it as the **SAML URL** in the Kron PAM SAML configuration.]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Uzio1U7gcisyfhWf5tDzD_image.png" size="80" width="944" height="468" position="center" caption="Properties" darkWidth="944" darkHeight="468" showCaption="true"}

- Copy the User access URL from the Azure portal and paste it as the **SAML URL** in the Kron PAM SAML configuration on Kron PAM.
- Enter the Kron PAM Web URL (**https\://10.10.10.10/login**) as the **SAML Remote URL** in the SAML configuration of Kron PAM.
- Service Provider Name on configuration popup in Kron PAM can be provided as requested (For example, Azure Entra). To display service provider login on the login page, toggle “Enable Service Provider Login”.&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ZOfyg8zW5TPFJUbJZbAQo_image.png" size="80" isUploading="false" width="669" height="380" darkWidth="669" darkHeight="380" showCaption="false"}

- When all steps are complete, the SAML Configuration modal on Kron PAM should look similar to this:

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/RfsFxB_kkAkpwfA1o5WMQ_image.png" size="80" caption="Figure – SAML Config" isUploading="false" width="640" height="858" darkWidth="640" darkHeight="858" showCaption="true"}

After saving the required configurations, you need to edit **TomcatCorsFilter** in the tomcat configuration. After connecting to the Kron PAM server via SSH:

1. Open the web.xml file under the following directory:
   /pam/gui/conf
2. Find the TomcatCorsFilter filter and add the Entra ID URL under **cors.allowed.origins.**

:::BlockQuote
\<filter-name>TomcatCorsFilter\</filter-name>\<filter-class>org.apache.catalina.filters.CorsFilter\</filter-class>                                                                      \<init-param>                                                                                                                                           \<param-name>cors.allowed.origins\</param-name>                                                          \<param-value>https\://login.microsoftonline.com\</param-value>                                                             \</init-param>
:::

- To test the SSO process go to the application on Azure, click **Single Sign-on&#x20;**&#x6F;n the left pane, then go to step **5&#x20;**&#x6F;n the Azure portal, and click the **Test** button.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Sf80Ea1gG5PMUvFR9Ld75_image.png)

A page will open on the right side to ask for the user who will log in to the application. If this user exists in the Kron PAM application, you will log in with no further need for credentials.
