Active Directory + SAML

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Active Directory + SAML

L2 Linker

Hello,

 

I am integrating Identity with Active Directory. I also added an "External Service Provider" for SAML authentication, and created a routing rule so that when AD users type their e-mails, they are redirected to the External IDP (Okta) authentication page.

 

However, if I login using other AD user attributes rather than the e-mail, for example, my user ID, Identity asks to send me a MFA code to my e-mail (CyberArk built-in MFA I think) and does not use SAML.

 

How can I make all AD users go through SAML authentication, just like Self-Hosted EPV?

 

Thanks you.

5 REPLIES 5

L3 Networker

The Identity Connector will attempt to match the UPN, email, and sAMAccountName when a user authenticates. Setting up the domain rule in your eIDP configs will "trump" this attempt for the domain suffix(es) in question. You can keep the user from logging in with sAMAccountName (or UPN if needed) using the instructions in link below.

 

https://community.cyberark.com/s/article/CyberArk-Identity-How-to-configure-or-restrict-attribute-matching-for-the-CyberArk-Identity-Connector

Jamie, thank you very much your help. I was really hopping the keys would do the trick, but it did not work. It's interesting that if I type anything (a user ID that does not even exist in AD/CyberArk Cloud), Identity somehow links this to someone's e-mail / phone number instead of blocking the authentication or giving a message. I type a real username (sAMAccountName) users would not be redirected my to IDP and bypass strong MFA factors. Any suggestions?

  

Field_Content_versions_oct20__068Ht00000VcNtEIAV.png

L1 Bithead

Check the authentication profile under 'Settings > Authentication' and for your end-user profile remove everything except password.

Under 'Core Services > Policies' select the policy the user would be directed to and under 'Authentication Policies > CyberArk Identity' ensure the Default profile is the one you previously set to just password.

@Anderson Viotti​ My apologies that I had some PTO starting the day you posted this and never saw the reply, but that sounds like either a permissions issue or a bug. I believe it would be very random indeed if you were picking attributes that were actually associated with a true user in your AD. Would you consider opening a support ticket with repro steps so they can investigate.

L2 Linker

Thank you all for your assistance. I was struggling to find the best and most secure way to integrate Active Directory with Privilege Cloud and the external IdP (Okta), so I'm sharing what I did to help others:

 

  • Disabled the Default Policy for all users and applied it only to a few administrator roles so that they can login with their CyberArk Cloud users. I set it on top.
  • Created a 'Block' authentication policy (a role with no factor) and applied to "All Users".
  • This policy does not block authentication via external IdP/SAML, as it follows a different path. I created a redirect rule, so when users type their e-mail, they are redirected to Okta for authentication, and in the backend they are mapped to their AD uses.
  • Now users can only login with their e-mail addresses and external IdP. If they type their AD username, their authentication will be blocked right away.

 

If anyone else is trying to set this up, I'm more than happy to assist.

  • 29 Views
  • 5 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!