> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pads4.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Entra ID

This manual provides step-by-step instructions to configure **Single Sign-On** (SSO) for **PADS4** using **Microsoft Entra ID**.

## Create a Microsoft Azure Enterprice Application

To configure a Microsoft Entra Identity provider, you will need to connect to Azure as an Administrator and create a new enterprise application.

1. Go to [**https://portal.azure.com**](https://portal.azure.com) and sign in as an administrator.
2. On Azure, go to the **Enterprise applications** page 
3. Click on **New application**  

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureNewApplication.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=fcc9adbca76e9dd1a0f5fdd71c6a040f" alt="Azure New Application" width="868" height="217" data-path="images/ctrl-centre/identity/AzureNewApplication.png" />
4. Click on **Create your own Application**

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureCreateOwnApp.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=2691c38bae11a2363949dee2f790ce75" alt="Azure Create Own App" title="Azure Create Own App" style={{ width:"82%" }} width="732" height="270" data-path="images/ctrl-centre/identity/AzureCreateOwnApp.png" />
5. Fill in the information requested in the from. For example you can use PADS4

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureCreateYourOwnApp.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=62af08b656fd69c54bc6b75090214504" alt="Azure Create Your Own App" title="Azure Create Your Own App" style={{ width:"73%" }} width="630" height="515" data-path="images/ctrl-centre/identity/AzureCreateYourOwnApp.png" />
6. Click the **Create** button
7. Your application is now being created.

## Setup Single Sign On configuration

Now that your application has been created, you need to enable and configure single sign-on.

* In the left menu, click on **Single sign-on**

  <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSelectSSO.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=3c5189e6fd77ef8b0b1df949e459be50" alt="Azure Select SSO" title="Azure Select SSO" style={{ width:"31%" }} width="361" height="472" data-path="images/ctrl-centre/identity/AzureSelectSSO.png" />
* Select **SAML** as Single Sign-On methode

  <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSelectSAML.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=f62aba743ab37ed97a745f765dcfb070" alt="Azure Select SAML" width="951" height="381" data-path="images/ctrl-centre/identity/AzureSelectSAML.png" />

You need to edit the basic SAML method. Click on **Edit** to do so.

<img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSAMLStep1.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=967dc576a8ae484cc7fc13c43fe5e43a" alt="Azure SAML Step1" width="704" height="166" data-path="images/ctrl-centre/identity/AzureSAMLStep1.png" />

Edit the **Basic SAML configuration**.

* For the Identifier use the PADS4 server address and add **/saml** (e.g. [https://pads4.mycompany.com/saml](https://pads4.mycompany.com/saml))
* For the Reply URL use the PADS server address and add **/rdx/nds.services/authentication.integration/api/v1/pads/Saml2/Acs** (e.g. [https://pads4.mycompany.com/rdx/nds.services.authentication.integration/api/v1/pads/Saml2/Acs](https://pads4.mycompany.com/rdx/nds.services.authentication.integration/api/v1/pads/Saml2/Acs))

<img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSAMLBasicConfiguration.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=739c81982ec15a929a99743db4683d0b" alt="Azure SAML Basic Configuration" width="722" height="464" data-path="images/ctrl-centre/identity/AzureSAMLBasicConfiguration.png" />

<Warning>
  If your PADS4 server uses a domain other than "pads", replace it with your actual domain name in the URL \
  e.g., for a domain named "domainone", use [https://pads4.mycompany.com/rdx/nds.services.authentication.integration/api/v1/domainone/Saml2/Acs](https://pads4.mycompany.com/rdx/nds.services.authentication.integration/api/v1/domainone/Saml2/Acs)).
</Warning>

* Click on **Save** to apply the changes

## Edit Attributes & Claims

1. You need to edit the **Attributes & Claims**. Click on **Edit** to do so.

   <img src="https://mintcdn.com/pads4/HzIViCaQM9xJLovL/images/download-10.png?fit=max&auto=format&n=HzIViCaQM9xJLovL&q=85&s=023a81d6858cbb34ccbc253a8aebfc39" alt="Download" width="700" height="172" data-path="images/download-10.png" />
2. Edit the **Attributes & Claims**

   <img src="https://mintcdn.com/pads4/HzIViCaQM9xJLovL/images/download-11.png?fit=max&auto=format&n=HzIViCaQM9xJLovL&q=85&s=54d5896abe139487b0b1a4480219e4c3" alt="Download" width="984" height="556" data-path="images/download-11.png" />

## Create the Group Claim

To map Microsoft Entra groups to PADS4 roles, configure the group claim:

1. Click **Add new group claim**.
2. Select **Groups assigned to the application** (radio button).
3. Choose **Group ID** as the source attribute.
4. Click **Save**.

<img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSAMLGroupClaims.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=2c349d9fff9ace6e32ce696761a765e9" alt="Azure SAML Group Claims" title="Azure SAML Group Claims" style={{ width:"69%" }} width="828" height="708" data-path="images/ctrl-centre/identity/AzureSAMLGroupClaims.png" />

| **Name**                                                                                                                                     | **Type**    | **Value**              |
| :------------------------------------------------------------------------------------------------------------------------------------------- | :---------- | :--------------------- |
| [**http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress**](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress) | Claim       | user.mail              |
| [**http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname**](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname)       | Claim       | user.givenname         |
| [**http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name**](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name)                 | Claim       | user.userprincipalname |
| [**http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname**](http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname)           | Claim       | user.surname           |
| [**http://schemas.microsoft.com/ws/2008/06/identity/claims/groups**](http://schemas.microsoft.com/ws/2008/06/identity/claims/groups)         | Group claim | user.groups            |

## Assign users and groups

To specify which user groups can access the application, assign the appropriate user groups to it.

1. In the left menu, select Users and groups.
2. Click Add user/group to add a new group.

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureAddPADS4UsersAndGroups.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=863f98269c1e226c27eb31e099e49a20" alt="Azure Add Pads4users And Groups" title="Azure Add Pads4users And Groups" style={{ width:"83%" }} width="786" height="488" data-path="images/ctrl-centre/identity/AzureAddPADS4UsersAndGroups.png" />
3. Click **Users and groups**, choose the group you want to assign, and then click **Select**.

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSearchGroup.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=21c0bd60dc00df60cb240324e5d79a4b" alt="Azure Search Group" title="Azure Search Group" style={{ width:"85%" }} width="742" height="504" data-path="images/ctrl-centre/identity/AzureSearchGroup.png" />
4. Click **Assign**

You can repeat this action for each user group you want to assign to the application.

## Collect configuration data for the PADS4 identity provider

To create the identity provider in PADS4, gather these details from your Microsoft Entra configuration. Open the **Single sign-on** page and collect:

1. **App Federation Metadata URL** (e.g., `https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/federationmetadata/2007-06/federationmetadata.xml?appid=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`)
2. **Certificate (Raw)** – Click the link to download it (e.g., `your-application-name.cer`)
3. **Login URL** (e.g., `https://login.microsoftonline.com/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/saml2`)
4. **Microsoft Entra Identifier** (e.g., `https://sts.windows.net/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/`)

<img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/AzureSetUp.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=5699eac73c397b3ac5a48a77701f903d" alt="Azure Set Up" width="968" height="710" data-path="images/ctrl-centre/identity/AzureSetUp.png" />

You'll use this information later when setting up the identity provider in PADS4.

# Set up the identity provider in PADS4

After creating your identity provider application, you also need to set up the corresponding identity provider in PADS4.

## Create the identity provider

To create the identity provider:

1. Log in to PADS4 and navigate to Adminstration
2. In the left-hand menu, click **Credentials**.
3. Click on **Providers**
4. Click on**New**  and select \*\*Identity \*\*and **Microsoft Entra**

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/PADS4SelectMicrosftEntra.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=b3d21ee4822336fefe6dc3e75feec960" alt="Pads4select Microsft Entra" width="770" height="412" data-path="images/ctrl-centre/identity/PADS4SelectMicrosftEntra.png" />

### Fill in provider details

1. **Name** – Enter a display name for the provider in PADS4
2. **Identifier** – Enter the **Microsoft Entra Identifier** you collected earlier
3. **Reply URL** – Enter the URL of your local PADS4 application (e.g., `https://pads4.mycompany.com`).
4. **Metadata URL** – Enter the **Microsoft Entra: App Federation Metadata URL** metadata URL you collected.

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/PADS4CreateMicrosoftEntraIdProvider.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=77f2e552a29a2db30df055789d44abac" alt="Pads4create Microsoft Entra Id Provider" title="Pads4create Microsoft Entra Id Provider" style={{ width:"65%" }} width="901" height="996" data-path="images/ctrl-centre/identity/PADS4CreateMicrosoftEntraIdProvider.png" />
5. The **Identifier** and **Assertion Consumer Service URL** are filled in.

### Upload certificates

1. **Provider Signing Certificate** - Upload the **Certificate (Raw)** (`.cer`) file you downloaded from your Microsoft Entra identity provider configuration.
2. **PADS4 Identity Provider Certificate** - Upload a certificate (`.pfx`) to sign SAML assertions from PADS4 to Microsoft Entra.
3. \*\*Password \*\*- Enter the password for the uploaded `.pfx` certificate (below the certificate field).

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/PADS4UploadCertificateEntra.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=3c5cb89ccbf904e39e13d2d377195230" alt="Pads4upload Certificate Entra" title="Pads4upload Certificate Entra" style={{ width:"53%" }} width="802" height="870" data-path="images/ctrl-centre/identity/PADS4UploadCertificateEntra.png" />

If you don’t need to enable SCIM provisioning, click **Create** to finish setting up the identity provider.

### Enable SCIM Provisioning (Optional)

You can enable SCIM provisioning during identity provider creation. This feature synchronizes users between Microsoft Entra and PADS4, automatically creating, updating, or deleting users linked to the application.

Once enabled, save these values for later use in your Microsoft Entra SCIM configuration:

1. **SCIM URL**
2. **SCIM Access Token**

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/PADS4CreateScimProvisioning.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=4c2eb606b3eb3b1508f7a2c3ca75fcec" alt="Pads4create Scim Provisioning" title="Pads4create Scim Provisioning" style={{ width:"67%" }} width="793" height="756" data-path="images/ctrl-centre/identity/PADS4CreateScimProvisioning.png" />

Click **Create** to complete the identity provider setup.

# **Finalizing Microsoft Entra ID set-up**

1. **Log out** and **refresh** the PADS4 Portal.
2. The **SSO Login** button should now be visible.
3. **Sign in** using your Microsoft Entra credentials.

   <img src="https://mintcdn.com/pads4/SMQxkKQFA9S7IQMH/images/ctrl-centre/identity/PADS4LogInWithEntra.png?fit=max&auto=format&n=SMQxkKQFA9S7IQMH&q=85&s=49ed41bbb1c9f04d7fdaab05e4fd7b37" alt="Pads4log In With Entra" width="1561" height="580" data-path="images/ctrl-centre/identity/PADS4LogInWithEntra.png" />
