Summary
This document provides details about the configuration required to integrate N2W with Azure Active Directory SSO
It shows an example of how to create and configure Enterprise application in Azure and what configurations are required in N2W.
- Please check the following link if ldP integration is supported for your version pricing & feature
- For additional information about IdP integration, read our user guide, section 19, N2W IdP Integration
Description
Configuration
For this guide we have created a test Azure AD account and have created one user & group in it.
- We will start with the configuration on the Azure AD side.
First you need users & group, once you have a user/group next steps is to create "Enterprise application" (you should see link to create at the bottom)
- Next select “Non-gallery application” and insert a name
- Now click on "Assign users and groups"
- Add your user
- Now that we have assigned a user, go back to overview and then click on “Set up a single sign on” -> SAML
- You will reach the setup page which has multiple sections, Fill in the parameters as follows:
section 1: Basic SAML Configuration
| Attribute | Value |
| Identifier (Entity ID) | https://<N2W_Address>/remote_auth/metadata |
| Reply URL (Assertion Consumer Service URL) | https://<N2W_Address>/remote_auth/complete_login/ |
| Logout Url | https://<N2W_Address>/remote_auth/complete_logout/ |
Section 2: User Attributes & Claims
- In Azure Portal: Enterprise Applications > [your app] > Single sign-on > User Attributes & Claims > Edit
- If there is an existing group claim — delete it
-
Click "Add a group claim" (this is a separate dedicated button, not "Add new claim")
-
Select which groups to include (recommended: "Groups assigned to the application")
-
Expand Advanced options
-
Check "Customize the name of the group claim"
-
Enter relevant group name in the Name field (leave Namespace empty)
- Save
Note: An IdP user logging onto N2W can belong to only one N2W group
Section 3: SAML Signing Certificate
Check that "Signing Algorithm" = SHA-256 and download the Certificate(Base64)
We will upload the certificate later to N2W server
Section 4: Set up N2W
We will use this information for the N2W configuration later.
- Switch to the N2W console and login with the Admin user
- Click on setting icon -> Open "Identity provider" area.
Go to Settings tab:
| Parameter | value |
| N2W IP or DNS | This should point to the public IP or DNS |
| Entity ID | Copy from Azure SSO setup - section 4 |
| Sign in URL | Copy from Azure SSO setup - section 4 |
| Sign Out URL | Copy from Azure SSO setup - section 4 |
| X509 cert | Upload the certificate from Azure AD |
Note: Use IdP’s login url for both sign in & sign out.
- Add a group, Switch to group tab and add new group
The name of the group should match the group ID in Azure AD, for example:
When creating the group, select the user type for users in that groups and the limitations/permissions, for example:
Troubleshooting
- Issue: Application identifier was not found
Possible resolutions:
Make sure the "N2W IP or DNS" in N2W config is set to the public ip and matches the URL in Azure AD configuration
- Issue: Redirected to logout
Possible resolution:
Claim name is case sensitive - make sure it is cpm_user_groups and not Cpm_user_groups for example.
- You can find additional SAML login issues here: SAML Identity Provider user log in issues
Comments
0 comments
Please sign in to leave a comment.