Skip to main content

SAML Single Sign-On Setup with Microsoft Entra ID

Configure SAML 2.0 Single Sign-On with Microsoft Entra ID in NetBeez NextGen, map claims and group Object IDs, and track signing certificate expiration.

Written by Panickos Neophytou

NetBeez NextGen (Version 20.0+) supports SAML 2.0 Single Sign-On (SSO) with Microsoft Entra ID (formerly Azure Active Directory), enabling centralized SAML authentication, Entra group Object ID role mapping or default role assignment, and proactive signing certificate expiration alerts. (If your organization prefers OpenID Connect / OAuth 2.0 instead of SAML 2.0, see Microsoft Entra ID (OIDC) Single Sign-On Setup.)

In this article:

Overview & Prerequisites

  • Administrator Access & Fallback Account: Only NetBeez Administrator users can configure SSO. Always keep at least one local email/password Administrator account so you can sign in via https://<your-netbeez-hostname>/login?auth=email if your SAML certificate expires or Entra ID configuration changes.

  • Unique Email per User Record: Each email address in NetBeez maps to a single user record (either local Email or SAML). Remove or update any conflicting local account in Settings → Users & Access → Users before that user signs in via SAML.

  • Updated NextGen Reply URL: NetBeez Version 20.0+ uses https://<your-netbeez-hostname>/auth/saml/callback as its SAML Reply (Assertion Consumer Service) URL—replacing the legacy /users/auth/saml/callback path.

Step 1: Configure the Enterprise Application in Microsoft Entra ID

  1. Sign in to the Microsoft Entra admin center (or Azure Portal → Microsoft Entra ID) and open Enterprise applications.

  2. Click + New application, then click + Create your own application.

  3. Enter a display name (such as NetBeez SAML), select Integrate any other application you don't find in the gallery (Non-gallery), and click Create.

  4. In the application sidebar, select Single sign-on and choose SAML.

  5. Click Edit on Basic SAML Configuration (Step 1), configure the values below, and click Save:

    • Identifier (Entity ID): Enter a unique identifier such as NetBeezSAMLSSO (you will enter this exact value in NetBeez).

    • Reply URL (Assertion Consumer Service URL):https://<your-netbeez-hostname>/auth/saml/callback

  6. Under Attributes & Claims (Step 2), Microsoft Entra ID automatically emits standard claims for givenname, surname, emailaddress, and objectidentifier. If you plan to use Role Mapping:

    • Click Edit on Attributes & Claims, then click + Add a group claim.

    • Select All groups (or Groups assigned to the application / Security groups according to your directory policy), set Source attribute to Group ID, and click Save.

  7. Under SAML Certificates (Step 3) and Set up <App Name> (Step 4), record:

    • Certificate (Base64): Click Download to save the PEM signing certificate file.

    • Thumbprint and Expiration date from the SAML Signing Certificate section.

    • Login URL from Step 4.

  8. Open Users and groups → + Add user/group to grant your users or groups access to the Enterprise Application. If enabling Role Mapping, create three Microsoft Entra groups (Admin, Read-Write, and Read-Only), assign them to the application, and copy each group's Object Id UUID.

Step 2: Configure SAML in NetBeez NextGen

Sign in to NetBeez as an Administrator and navigate to Settings → Users & Access → Single-Sign On → SAML:

Settings Users &amp; Access Single-Sign On SAML configuration page showing connection fields, attribute maps, Expires At, and Role Mapping controls
  1. Toggle Enabled on.

  2. Complete the SAML connection fields:

    • Provider: Enter Microsoft (renders the Microsoft logo and labels the sign-in button Continue with Microsoft on /login).

    • Entity ID: Enter the exact Identifier (Entity ID) configured in Microsoft Entra ID (for example, NetBeezSAMLSSO).

    • Certificate: Open the downloaded Base64 certificate file in a text editor and paste its full contents.

    • Certificate Fingerprint: Paste the certificate Thumbprint from Microsoft Entra ID.

    • Login URL: Paste the Login URL from Step 4 of your Microsoft Entra SAML setup.

    • Expires At: Enter the SAML signing certificate expiration date (YYYY-MM-DD, must be in the future when enabled) to enable proactive expiration alerts.

  3. Under Attributes, configure the claim mappings (NetBeez automatically matches suffix keys against full http://schemas... SAML claim URIs):

    • Unique Identity Attribute Map: Enter claims/objectidentifier.

    • First Name Attribute Map, Last Name Attribute Map, and Email Attribute Map: Keep the pre-populated defaults (which already include givenname, surname, and emailaddress), or add custom claim suffixes by typing each value and pressing Enter.

    • Groups Name Attribute Map: If enabling Role Mapping, enter claims/groups and press Enter.

  4. Under Role Mapping, configure user authorization:

    • Role Mapping Disabled (Default): Leave Role Mapping off and choose a Default Role (Read only [default], Read write, or Admin). New SAML users receive this default role on first login, and Administrators can modify roles later in Settings → Users & Access → Users.

    • Role Mapping Enabled: Toggle Role Mapping on, confirm claims/groups is present in Groups Name Attribute Map, and paste your three Microsoft Entra group Object Id UUIDs into Admin Group ID, Read-Write Group ID, and Read-Only Group ID. Users who do not belong to one of the three mapped groups are denied login, and user roles are controlled exclusively through Microsoft Entra group memberships on every sign-in.

  5. Click Save Settings. Note that fully revoking an SSO user's access requires removing them from both Microsoft Entra ID (or their mapped group) and NetBeez.

Step 3: Activate SAML on the NetBeez Login Page

  1. Click Manage Authentication in the top-right corner of the SAML Authentication card (or open Settings → Users & Access → Authentication).

  2. Expand the Authentication card:

Settings Users &amp; Access Authentication card showing Authorized Domains, Multi-Factor Authentication, Email Login, and SSO Provider dropdown
  1. Select Microsoft SAML (or SAML) from the SSO Provider dropdown.

  2. Choose Hide Login or Show Login under Email Login (even when hidden, local Administrators can sign in via https://<your-netbeez-hostname>/login?auth=email), optionally specify Authorized Domains, and click Apply.

Certificate Expiration Warnings & MFA Behavior

  • Proactive Certificate Expiration Alerts: Beginning 14 calendar days before the configured Expires At date, NetBeez displays escalating attention icons in Settings → Users & Access → Single-Sign On → SAML, surfaces actionable in-app system notifications (at 14, 5, 2, and 0 days remaining with a Go To Setting button), and sends reminder emails to Administrators at 14 days, 7 days, and 0 days remaining (when SMTP is configured). Updating the certificate and saving a new future Expires At date outside the 14-day window dismisses open alerts automatically.

  • MFA Exemption: SAML users are protected by your Microsoft Entra Conditional Access and MFA policies and are exempt from NetBeez local Authenticator-app MFA prompts.

Did this answer your question?