Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Qlik Sense: Set up dynamic domain name for ADFS (SAML)

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Damien_Villaret
Support
Support

Qlik Sense: Set up dynamic domain name for ADFS (SAML)

Last Update:

Feb 23, 2021 4:32:43 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 1, 2017 3:31:08 AM

This article explains how to set up a dynamic domain name (User Directory in Qlik Sense) based on an ADFS claim description.
This can be useful if you have users from several different domains that are logging in to Qlik Sense through ADFS.
This assumes you have already set up ADFS correctly with Qlik Sense with a static User Directory.

Resolution:


In ADFS, in claim descriptions, choose "Add Claim Description"


User-added image

Create a new claim with a name and claim type of your choice. Claim type must have the below format.


User-added image

In Relying Party Trusts, choose the Reying party trust created for Qlik Sense and in the right pane, choose "Edit Claim Rules"


User-added image

In the existing claim rule, make sure to include SAM-Account-Name:


User-added image

Create a second rule based on template "Send Claims Using a Custom Rule" with the following rule:
c:[Type == "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname", Value =~ "^.*(\\).*$"]
=> issue(Type = "http://temp.org/windowsdomainnamenetbios", Value = RegexReplace(c.Value, "\\.*", ""));


User-added image

On the Qlik Sense side, in virtual proxy settings, including the newly created claim description as the SAML attribute for user directory


User-added image


You should now be able to log in to the hub, the domain name will be registered correctly in Qlik Sense even if you have users from several different domains as long as they are allowed to log in through ADFS.
 

Labels (1)
Contributors
Version history
Last update:
‎2021-02-23 04:32 AM
Updated by: