Microsoft Entra ID (SAML2.0) - CWP
This guide details authentication between Genian NAC (Service Provider) and Microsoft Entra ID (Identity Provider).
This enables user authentication through Entra ID without managing users in Genian NAC.
SSO is achieved via SAML2.0 on the Genian NAC CWP (Captive Web Portal), using Entra ID as the IdP.
Recommended Version
| Product | Version |
|---|---|
| Genian NAC PolicyServer | V5.0 + |
| Microsoft Entra ID APP | SAML2.0 |
Supported Features
Microsoft Entra SAML integration supports:
- SP-initiated SSO
- IdP-initiated SSO
- JIT (Just-In-Time) provisioning
- Single Logout (SLO)
- Signed Requests
Configuration Steps
The following steps outline how to configure Microsoft Entra ID (formerly Azure AD) with Genian NAC using SAML2.0.
Step 1: Register Application in Entra ID
- Sign in to the Microsoft Azure portal: https://portal.azure.com/
- Navigate to Azure Services > Microsoft Entra ID
- Select Enterprise Applications > New application
- Click Create your own application and choose Non-gallery application
- Enter the application name and click Create
Step 2: Configure SAML SSO
After app creation, select Single sign-on > SAML
In the Basic SAML Configuration panel:
Identifier (Entity ID): Enter the Genian NAC SP Entity ID.
For example https://<Server IP or Domain>/cwp2/faces/saml2/saml2Metadata.xhtmlReply URL (Assertion Consumer Service URL): Enter the Genian NAC ACS (Assertion Consumer Service) URL.
For example https://<Server IP or Domain>/cwp2/faces/saml2/saml2Acs.xhtmlDownload the Certificate (Base64) and open with a text editor (Notepad).
In Genian NAC:
Navigate to Web Console > Preferences > User Authentication > Authentication Integration > SAML2.:
- Input the following:
IdP SSO URL – "Login URL" from Entra ID
For example https://login.microsoftonline.com/<Tenant ID>/saml2IdP Entity ID – "Microsoft Entra Identifier"
For example https://sts.windows.net/<Tenant ID>/x509 Certificate – Contents of the Base64 certificate file
Click Update to apply changes
Step 3: Enable JIT Provisioning (Optional)
To create or update NAC user info using SAML attributes:
- In Genian NAC, set JIT Provisioning > ON
- Define attributes under Additional columns to map incoming SAML values
These attributes are sent by default from Microsoft Entra ID
Default Attributes & Claims from Entra ID Attribute Value givenname user.givenname surname user.surname emailaddress user.mail name user.userprincipalname Unique User Identifier user.userprincipalname Note
These attributes are included by default in Microsoft Entra ID. You may edit them under Attributes & Claims in the Entra ID application settings if additional mappings are required.
Step 4: Configure Node Policy for SAML2
- In Genian NAC, go to Policy > Node Policy
- Create or edit a policy and set Authentication Method > SAML2
Authentication Integration Test
SP-initiated SSO via Web Console
- In NAC, navigate to:
- Preferences > User Authentication > Authentication Integration > Authentication Test
- Select SAML2 and click Test.
- Login with your Entra ID credentials in the pop-up window.