---
title: "Set up single sign-on with Microsoft Entra ID"
description: "Connect Entra ID by its metadata URL, paste the Identifier and Reply URL back into Entra, verify your email domain by DNS, and decide whether single sign-on is required."
url: https://help.portierx.com/en/articles/30-set-up-single-sign-on-with-microsoft-entra-id
collection: "Microsoft Entra ID"
updated: 2026-10-22
language: en
alternates: [de, fr]
---

# Set up single sign-on with Microsoft Entra ID

Connect Entra ID by its metadata URL, paste the Identifier and Reply URL back into Entra, verify your email domain by DNS, and decide whether single sign-on is required.

Single sign-on lets your people sign in to portierX with their Microsoft work account. Setting it up needs the Organisation Admin role in portierX, admin access to Microsoft Entra ID and access to the DNS records of your email domain. It starts from **Integrations**, on the **Available** tab, with the Entra ID SSO SAML card.

Also called: SSO, SAML sign-in, signing in with Microsoft.

## Before you start

-   An enterprise application in Microsoft Entra ID with single sign-on set to SAML. Create it under _Enterprise applications_. An app registration never offers SAML and cannot be converted afterwards.
    
-   That application's _App Federation Metadata Url_, from its _Single sign-on_ page under _SAML Certificates_.
    
-   The Organisation Admin role in portierX. Other roles see the line "Only an organisation admin can change this." on the connection.
    
-   Access to the DNS records of the domain your people sign in with.
    

## Add the connection

1.  Open **Integrations** and stay on **Available**.
    
2.  Open the Entra ID SSO SAML card with **See Details** and switch to the **Connect** tab. The tab starts with a short guide whose link **Set up single sign-on with Microsoft Entra ID** leads to this article.
    
3.  Enter a **Name**. The sign-in page shows it after **Sign in with**.
    
4.  Paste the metadata URL into **App Federation Metadata Url (from Entra)**.
    
5.  Click **Activate**.
    

portierX takes the sign-on endpoint, the entity identifier and the signing certificate of your Entra application from the metadata URL. None of them is typed by hand.

## Copy the values Entra needs

After activation portierX opens the connection's page under **Connected**. The **Configuration** tab starts with the card **What Entra needs from portierX**. Its **Service provider details** list the **Identifier (Entity ID)** and the **Reply URL (Assertion Consumer Service URL)**, each with a copy button.

1.  Copy both values.
    
2.  In Entra, open the application's _Single sign-on_ page and edit _Basic SAML Configuration_.
    
3.  Paste the identifier into _Identifier (Entity ID)_ and the reply URL into _Reply URL_. Leave _Sign on URL_ empty. Sign-in always starts from portierX.
    
4.  Save in Entra.
    

The card also shows the **Broker alias**. Quote it to support when a sign-in fails.

## Verify your email domain

portierX decides whether to offer single sign-on by matching the domain of the work email someone types. Until a domain is verified, the connection does not appear on the sign-in page.

1.  On the **Configuration** tab, under **Email domains**, enter your domain, for example nordwerk.example, and click **Add Domain**.
    
2.  portierX shows the DNS TXT record to create: **Type** TXT, **Name** `_portierx-verify.nordwerk.example`, **Value** the token exactly as shown. Create it at your DNS provider. The name is the full `_portierx-verify` host, not @, and the value is the bare token, with no prefix and no quotes.
    
3.  Click **Verify** beside the domain. Its badge changes from **Pending** to **Verified**.
    

A badge reading **Failed** means the record was not found. DNS changes take a while to propagate. Check the record's name and verify again.

## Decide whether single sign-on is required

The card **Require single sign-on** on the **Configuration** tab carries a switch and the badge **Optional** or **Required**.

Off keeps the password form beside the SSO button. Contractors and outsourced staff often share your domain without existing in Entra. On, everyone on a verified domain sees the SSO button only, with the line "Your organisation requires SSO sign-in." A connection starts with the switch off.

## Read sign-in readiness

The **Summary** tab shows, in **Connection Summary**, the **Sign-in Readiness**, the **Provider** (the connection's name), the **Broker Alias** and, under **Single Sign-On**, **REQUIRED** or **OPTIONAL**. Two cards count the **Email Domains** and the **Verified** ones. The **Sign-in Status** card reads **Live** or **Action needed**, with a sentence on what to do.

-   **Ready**: people whose work email is on a verified domain are offered single sign-on.
    
-   **No verified domain**: add a domain under Configuration and verify it.
    
-   **Not established**: the connection was saved but was not created at the identity service. Quote the Broker Alias to support.
    

## Test the sign-in

1.  Sign out and open the portierX sign-in page.
    
2.  Enter an address on the verified domain under **Work email** and click **Continue**.
    
3.  Click **Sign in with** followed by your connection's name. Microsoft signs you in and returns you to portierX.
    

If only the password form appears, the domain is not verified or the connection is not established. The Summary tab says which.

## What happens next

-   On **Activate**, portierX creates the connection at the identity service, reports "Connection activated." and lists the connection under **Connected**.
    
-   With the first verified domain the connection becomes active and is offered on the sign-in page.
    
-   At sign-in, portierX matches the Microsoft account to the user with the same email address. Someone who is not a user of any organisation sees "No organisation found".
    

## Rules

-   Single sign-on changes how a person signs in, not what they may do. The person needs a user account in your organisation with the same email address, added by hand or through SCIM. Role and access are set in portierX.
    
-   Who may use the application is decided in Entra, under the application's _Users and groups_.
    
-   A domain belongs to one connection, across all organisations. Adding a domain that is already claimed fails. Contact support.
    
-   Turning **Require single sign-on** off brings the password form back. The connection stays on the sign-in page.
    
-   Only an Organisation Admin sees the Summary and the Configuration. Other roles see "Only an organisation admin can change this."
    

## Related

-   [What your role lets you see and do](https://help.portierx.com/en/articles/2.md)
    
-   [Provision people from Microsoft Entra ID](https://help.portierx.com/en/articles/12.md)
    
-   [Add a user and set their role](https://help.portierx.com/en/articles/19.md)
    
-   [Work in several organisations with one login](https://help.portierx.com/en/articles/28.md)
