Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 13, 2024 1:21:30 AM
Jan 11, 2021 8:55:44 AM
This article provides step-by-step instructions for implementing Azure AD as an identify provider for Qlik Cloud. We cover configuring an App registration in Azure AD and configuring group support using MS Graph permissions.
It guides the reader through adding the necessary application configuration in Azure AD and Qlik Sense Enterprise SaaS identity provider configuration so that Qlik Sense Enterprise SaaS users may log into a tenant using their Azure AD credentials.
Content:
Throughout this tutorial, some words will be used interchangeably.
The tenant hostname required in this context is the original hostname provided to the Qlik Enterprise SaaS tenant.
Copy the "value of the client secret" and paste it somewhere safe.After saving the configuration the value will become hidden and unavailable.
In the OpenID permissions section, check email, openid, and profile. In the Users section, check user.read.
Failing to grant consent to GroupMember.Read.All may result in errors authenticating to Qlik using Azure AD. Make sure to complete this step before moving on.
In this example, I had to change the email claim to upn to obtain the user's email address from Azure AD. Your results may vary.
While not hard, configuring Azure AD to work with Qlik Sense Enterprise SaaS is not trivial. Most of the legwork to make this authentication scheme work is on the Azure side. However, it's important to note that without making some small tweaks to the IdP configuration in Qlik Sense you may receive a failure or two during the validation process.
For many of you, adding Azure AD means you potentially have a bunch of clean up you need to do to remove legacy groups. Unfortunately, there is no way to do this in the UI but there is an API endpoint for deleting groups. See Deleting guid group values from Qlik Sense Enterprise SaaS for a guide on how to delete groups from a Qlik Sense Enterprise SaaS tenant.
Qlik Cloud: Configure Azure Active Directory as an IdP
Thank you for your response @Sonja_Bauernfeind.
Good morning,
we are performing all the process mentioned above but at the moment we are having this failure at the time of validation against Azure, we enter credentials and then it fails
Hi for new users, there are changes in Azure AD, you should use "Microsoft Entra ID OpenID Connect" instead. Because if you have azure B2C (and in free mode) you hove no policy-names, because it uses default Entra flows now.
@Jeffrey_Goldberg thank you for your guide, but this usage is not good idea when you need qlik multi-tenant environment. For each tenant you should create new AzureAD app, to be able to control access. But when you use "azure sub" for "qlik sub" as your ID, for every tenant you will be new entity and you will consume extra license (users license allocation). Everything else will look fine - SSO/MFA. But you will be different entity fro Qlik on each tenant because sub for every user is different per Azure app. So you should use "oid" (Object ID - in this case the object is user) instead. Not "sub".
Best regards
Lmcsedyz you are my hero. Microsoft Entra ID OpenID Connect saved me on an Azure B2C issue I was having.
@jfitz_chicago pleasure 🙂
If anyone facing the below error message:
"title": "Authentication failed",
"detail": "could not get Azure AD group name(s), please ensure your Azure AD app has sufficient Group API permissions with admin consent (minimum 'GroupMember.Read.All')",
"code": "LOGIN-1",
"status": "401"
MS graph API will not return the group names for guest accounts, they need to be external or full members. All returned values will show "null".
You can test from Use delegated authentication with Postman for Microsoft Graph - Microsoft Graph | Microsoft Learn
And decode the ms token: jwt.ms: Welcome!
Hi @armandfrigo , do you have in your azureAPP regsitration under API GroupMemeberReadAll and allowed/verified by admin?
Would the steps be similar for moving from SaaS- Azure AD Idp to SaaS- Azure AD B2C? Will the groups be brought as well?
We have a client who have both internal and External users(invited as guest in their AAD) , so they wanted to migrate External users to B2C, Would this be possible following same steps? I assume the challenges are there for them as Qlik SaaS only allowed one Active IdP at the same time and authentication for internal users would be a problem then(if keep B2C active).
Do you know more complex(I mean easier :P) way to make it happen?
@RaviGinqo , groups are supported (if enabled in Qlik SaaS and rights for API in Azure). Groups from other azure tenats could be transfer/recreated in your azure tenant (with proper rights) by api. Or create them manually in your azure tenant.
We have single Azure for internal (as members), internal (as guests), 100+ clients as guests from multiple companies with their own MS365 accounts with single-sign-on.
Also working in qlik saas multi-tenant environment with single user/license for all tenants...