21-Feb-2017 02:58
I have an existing access policy - login page ---- ad auth --- sso. I need to add userprincipalname as a username option.
Do I add ad query before ad auth or add a branch rule to the login page?
Solved! Go to Solution.
21-Jul-2022 07:46
As @Stanislas_Piro2 has pointed out in several threads...
- Add LDAP/AD query to get samAccountName
- Added a Variable Assign session.logon.last.username = expr { "[mcget {session.ldap.last.attr.sAMAccountName}]" }
(I've never been able to get SSO-Credential Mapping to change the username to sAMAccountName)
From here APM will work with the samAccountName, just do AD Auth whatever else you need.
Then I need to change the username back to UPN for the application.
21-Jul-2022 07:46
As @Stanislas_Piro2 has pointed out in several threads...
- Add LDAP/AD query to get samAccountName
- Added a Variable Assign session.logon.last.username = expr { "[mcget {session.ldap.last.attr.sAMAccountName}]" }
(I've never been able to get SSO-Credential Mapping to change the username to sAMAccountName)
From here APM will work with the samAccountName, just do AD Auth whatever else you need.
Then I need to change the username back to UPN for the application.