Single Sign-On with Microsoft Entra ID

This guide connects Microsoft Entra ID (formerly Azure Active Directory) to your Ipregistry organization. Entra ID offers both SAML 2.0 and OpenID Connect for an application you create yourself, and both work with Ipregistry. Pick one: SAML has no client secret to renew, and people are assigned to the application in the same place.

Read the overview first for what single sign-on does, who can set it up and how domains work. You need to be the owner of the organization on Ipregistry and an administrator of applications at Entra ID.

With SAML 2.0

1. Create the connection on Ipregistry

  1. In the dashboard, click your organization at the bottom left and choose Settings in the menu that opens. Click Manage SSO, then Add a connection.
  2. Enter a Name, for example Entra ID, pick SAML as its Type and click Create the connection.
  3. Keep the page open: it shows the Single sign-on URL (ACS URL) and the Audience URI (Entity ID) that Entra ID asks for.
The page of a new SAML connection named Microsoft Entra ID on Ipregistry, with its Single sign-on URL (ACS URL) and its Audience URI (Entity ID), each with a button to copy it.
The page of the connection gives the two values Entra ID asks for.

2. Create the application at Entra ID

  1. In the Microsoft Entra admin center, open Enterprise applications and click New application, then Create your own application.
  2. Give it a name, for example Ipregistry, keep the choice for an application that is not in the gallery, and create it.
  3. In the application, open Single sign-on and pick SAML.
  4. Edit Basic SAML Configuration:
    • Identifier (Entity ID): the Audience URI (Entity ID) of the connection.
    • Reply URL (Assertion Consumer Service URL): the Single sign-on URL (ACS URL) of the connection.
    Leave the other fields empty and save.
  5. Look at Attributes & Claims. The name ID is the user principal name by default. Keep it where people sign in to Microsoft with their work email address. Otherwise edit the Unique User Identifier (Name ID) and set its source attribute to user.mail.
  6. Leave the signing options as they are. Entra ID signs the assertion with SHA-256 and does not encrypt it, which is what Ipregistry expects.

3. Assign the application

In the application, open Users and groups and add the people or the groups who sign in to Ipregistry, yourself included. Someone who is not assigned is stopped by Entra ID with a message saying so.

4. Give Ipregistry the metadata of Entra ID

  1. On the page Single sign-on of the application, under SAML Certificates, copy the App Federation Metadata Url.
  2. On the page of the connection on Ipregistry, paste it in Metadata URL and click Read. It fills Issuer, Sign-in URL and Signing certificate.
  3. Click Test the connection and sign in at Microsoft.
The settings of the SAML connection on Ipregistry, with the issuer, the sign-in URL and the signing certificate of Microsoft Entra ID.
Read fills the issuer, the sign-in URL and the signing certificate from the metadata of Entra ID.

Then carry on with the last steps.

With OpenID Connect

1. Create the connection on Ipregistry

  1. In the dashboard, click your organization at the bottom left and choose Settings in the menu that opens. Click Manage SSO, then Add a connection.
  2. Enter a Name, pick OpenID Connect as its Type and click Create the connection.
  3. Keep the page open: it shows the Redirect URI that Entra ID asks for.

2. Register the application at Entra ID

  1. In the Microsoft Entra admin center, open App registrations and click New registration.
  2. Give it a name and keep the accounts of your own directory only (single tenant).
  3. Under Redirect URI, pick the platform Web and paste the Redirect URI of the connection. Register the application.
  4. On its overview, copy the Application (client) ID and the Directory (tenant) ID.
  5. Open Certificates & secrets, create a client secret and copy its Value at once: it is shown only then. The secret ID is not what Ipregistry needs.

3. Give Ipregistry the settings of the application

  1. On the page of the connection on Ipregistry, enter:
    • Issuer: https://login.microsoftonline.com/TENANT_ID/v2.0, where TENANT_ID is the directory (tenant) ID. Use the ID, not the domain name of the tenant, and put nothing after v2.0.
    • Client ID: the application (client) ID.
    • Client secret: the value of the secret.
  2. Click Test the connection and sign in at Microsoft.
The page of an OpenID Connect connection named Microsoft Entra ID on Ipregistry: its Redirect URI, then the issuer, the client ID and the client secret.
The redirect URI to give Entra ID, and the three settings Entra ID gives in return.

4. Choose who can sign in

An application registered this way lets every user of your directory sign in. To limit it, open the same application under Enterprise applications, require an assignment in its properties, then add the people or the groups under Users and groups.

Last steps

  1. Once the test went through, click Switch on on the page of the connection.
  2. On the page Single Sign-On (SSO), click Add a domain, enter the domain of your work addresses and add the TXT record it gives to your DNS, then click Verify. See the DNS record.
  3. Click Link to a connection on the row of the domain and pick the connection.
  4. Decide whether the connection is a choice or the only way in, with Require this connection.
The page of the connection once its test went through, with the buttons Test the connection and Switch on.
Once the test went through, the connection can be switched on.

Good to know

  • The address Entra ID gives for a person must be on a domain linked with the connection on Ipregistry. An address ending in onmicrosoft.com is not: over SAML, set the name ID to user.mail as described above.
  • Over OpenID Connect, Entra ID gives the sign-in name of the person, which Ipregistry takes as their address. Where sign-in names are not work email addresses, add the optional claim email to the ID token of the application, under Token configuration.
  • A client secret expires on the date chosen when it was created. Before that date, create a new one and enter it in Client secret on the page of the connection, then test and switch on again.
  • The signing certificate of a SAML application expires too, and Entra ID sends a notice before it does. Once the new certificate is active, click Read again on the page of the connection, then test and switch on again. The page shows when the current certificate expires.
  • Over SAML, a click on the application in My Apps signs the person in to Ipregistry.
  • Someone who leaves the company: block or delete their account at Entra ID, or remove their assignment. See people who leave.