Cisco Secure Access Help

PDF

Cisco Secure Access Help

Provision Users, Groups, and Endpoint Devices from Active Directory

Want to summarize with AI?

Log in

Describes Provision Users, Groups, and Endpoint Devices from Active Directory in Cisco Secure Access. Provisioning users, groups, and endpoint devices from Active Directory (AD) to Cisco Secure Access requires the deployment of a Cisco AD Connector in your environment.


Provisioning users, groups, and endpoint devices from Active Directory (AD) to Cisco Secure Access requires the deployment of a Cisco AD Connector in your environment. The AD Connector securely retrieves non-sensitive user, group, and device information from your instance of Microsoft AD and integrates the identities with Secure Access. Once your users, groups, and devices are provisioned in Secure Access, you can create and enforce AD group or device-based Access rules and view AD user-based reports.

Next Steps

  1. Review the requirements for setting up the AD components and Cisco AD Connector in your environment. For more information, see Prerequisites for AD Connectors.

  2. Review how to connect multiple AD domains. For more information, see Connect Multiple Active Directory Domains.

  3. Manage the AD components with Secure Access. For more information, see Manage AD Components.

  4. Manage the AD Connectors. For more information, see Manage AD Connectors.

  5. View the installed AD components. For more information, see View AD Components in Secure Access.

  6. Enable or disable DLP email notifications for reporting managers. For more information, see Synchronize Active Directory Reporting Manager Email Addresses for DLP Notifications.

  7. Troubleshoot the AD deployments. For more information, see AD Connector Communication Flow and Troubleshooting.


Prerequisites for AD Connectors

To integrate your organization's identities from Microsoft Active Directory (AD) with Cisco Secure Access, deploy the Cisco AD Connector in your environment.

This guide describes the Windows Server, user account in the AD domain, and network requirements to deploy the AD Connector. You must meet these requirements before you deploy the AD Connector.

Connector Server

You must configure a server that is a member of the AD domain with the following environment:

  • Windows Server 2016, 2019, 2022, or 2025.

  • 100MB free hard disk drive space.

  • .NET Framework 4.5 or above.

  • If a local anti-virus application is running, allow the CiscoAuditClient.exe and CiscoAuditService.exe processes to run on the system.

You can deploy the AD Connector directly on the domain controller. In this case, the domain controller must meet all prerequisites for the Connector server. Only one AD Connector is required to provision identities from an AD domain. If you require high-availability of the AD Connector, deploy a second AD Connector.

Outbound Network Access to Secure Access

The server where you install the AD Connector requires outbound access on certain domains and URLs. If you are using a transparent HTTP web proxy, ensure that these domains and URLs on port 80/443 are excluded from the proxy, and not subject to authentication.

  • For syncing, allow traffic on 443 (TCP) to api.sse.cisco.com.

  • For Windows to perform Certificate Revocation List and Code-Signing checks, allow access to additional URLs on port 80/443 (TCP). For a complete list of ports, see AD Connector Communication Flow and Troubleshooting.

  • For downloading upgrades, allow traffic on 443 (TCP) to disthost.umbrella.com.

Connector Account

To deploy the AD Connector, create a new user account in the AD domain. This account should have:

  • The logon name (sAMAccountName) set to Cisco_Connector. You can use a custom username, but you must configure it with the required permissions.

  • Select Password never expires.

    Note
    Passwords can not include backslashes, quotations (single or double), greater-than or less-than chevron brackets (< >), or colons.
  • Assign Read and Replicating Directory Changes permissions. Alternatively, you can make the AD Connector account a member of the built-in Enterprise Read-only Domain Controllers group, which will automatically assign these permissions.

    • The AD Connector does an initial synchronization of the AD structure to Secure Access. After this, it detects changes to the AD structure and communicates these changes only. The detection of changes requires the Replicating Directory Changes permission. The AD Connector cannot function without this permission.

    • The Replicating Directory Changes permission is different from the Replicating Directory Changes All permission, which enables the retrieval of password hashes. The AD Connector does not read password hashes. Thus, the AD Connector does not require the Replicating Directory Changes All permission.


Connect Multiple Active Directory Domains

To import users, groups, and endpoint devices from multiple Active Directory (AD) domains or multiple AD forests, register a domain controller or domain in Cisco Secure Access for each AD domain that needs to integrate with Secure Access. We recommend that you deploy a separate Cisco AD Connector for each AD domain. For more information, see Welcome to Cisco Secure Access.

If you wish to use the same Cisco AD Connector to provision users and groups from multiple AD domains, ensure that the connector account is created with the same sAMAccountName name and password across all of your domains.

This feature is not enabled by default. Contact Support to have the feature enabled. For more information, see Welcome to Cisco Secure Access.

Note
If you have groups in an AD domain that have member users in another AD domain, Secure Access requires that you deploy a single Cisco AD Connector for multiple AD domains

Active Directory Components

The Cisco Active Directory (AD) Connector integrates Cisco Secure Access with Microsoft Active Directory. After you add AD domains, domain controllers, and AD Connectors in Secure Access, you can view component details, assign load-balancing groups, edit site associations, and delete AD components.

Use the following topics to manage AD components in Secure Access:


Add AD Components

To integrate Microsoft Active Directory with Cisco Secure Access, add AD domains or domain controllers in Secure Access and configure communication with the Cisco AD Connector.

To add a domain controller, first complete Verify Auditing of Logon Events on Domain Controllers, Download the Windows Configuration Script for Domain Controllers, and Run the Windows Configuration Script for the Domain Controllers. Then see Add a Domain Controller.

To add a domain, see Add a Domain.

Support for Multiple AD Domains and Forests

To integrate multiple AD domains or AD forests with Secure Access through domain controller integrations, deploy one AD Connector for each AD domain. For redundancy, deploy an additional AD Connector for each AD domain.


Verify Auditing of Logon Events on Domain Controllers

The AD integration with domain controllers requires each domain controller to audit logon events.

On each domain controller (excluding read-only domain controllers), enable the Audit account logon events to include Success and Failure if it is set to No Auditing.

By default, this group policy is set to log Success logon events and you should not modify it. Secure Access requires the Audit account logon events setting so that it knows whether a user has logged in successfully and can then compare that login to subsequent events generated by that user.

If the Audit Policy is not set, the Windows Configuration Script for Domain Controller script displays this error message:

"ERROR: " 

 

----------------------------------------------------------------------------- 

Your Group Policy for this Domain Controller is set to NOT audit successful logon events! 

You MUST edit the following Group Policy for all DCs: 

 

Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\Audit Policy\Audit logon events 

 

Define that policy to audit Success attempts, gpupdate, and re-run this script!

Download the Windows Configuration Script for Domain Controllers

The Windows Configuration Script automates the permissions for the Cisco_Connector user.

In Secure Access, download the Windows Configuration Script for Domain Controller script to the domain controllers in your environments.

Before you begin

Procedure

  1. Navigate to Connect > Users and Groups > Users, click Configuration Management > Integrate directories, and then click Active Directory.

  2. After an initial AD deployment, navigate to Connect > Users and Groups > Users, click Configuration Management, and expand Active Directory.

  3. For Windows Configuration Script for Domain Controller, click Download.


    The AD Connector Download interface.
  4. Download and save the configuration script to a location on the machine where you plan to run it.

    Note
    The configuration script is written in Visual Basic Script and is in plain text.

Run the Windows Configuration Script for the Domain Controllers

Run the Windows Configuration Script for Domain Controller on all of the domain controllers at each site, (excluding read-only domain controllers (RODCs)) for each domain that will integrate with Secure Access. The configuration script prepares the domain controllers to communicate with the AD Connector.

Before running the script, you must create the Cisco_Connector user. Also, there are several Group Policies that affect system operation that may need manual configuration. The script displays the status of these settings and, if needed, provides instructions on how to change them.

Repeat the steps to add your domain controllers in Secure Access. It is essential that each domain controller in each AD domain environment has the configuration script run on it in order for the service to work as expected, both for high availability and overall reliability.

Note
The configuration script is not an application or service. If you change the IP address or hostname of the domain controller, remove the previous instance of the domain controller and re-register the domain controller.

Before you begin

Procedure

  1. As an administrator, open an elevated command prompt.

  2. Locate the Windows Configuration Script for Domain Controller file and run the script in the command prompt.

  3. Substitute the Windows configuration script filename (including the .wsf file extension) in the cscript command.

    cscript forcenonva=true <Windows Configuration Script filename with extension> or cscript forcenonva=true <Windows Configuration Script filename with extension> --username <sAMAccountName for custom user>
    Note
    The script displays your current configuration, then offers to auto-configure the domain controller. If the auto-configure steps are successful, the script offers to registers the domain controller with Secure Access. Registration only occurs if you accept this offer.

Add a Domain Controller

Choose the domain controller component type and set up the domain controller to sync with Secure Access.

For LDAP or LDAPS AD queries, AD integration requires that you register an AD domain controller or AD domain in Secure Access. The Cisco AD Connector performs an LDAP sync against this domain controller or domain to retrieve the Users and Groups. The Cisco AD Connector server communicates with the domain controller on port 389 over TCP for LDAP sync or port 636 over SSL for LDAP.

The Cisco AD Connector can only retrieve users and groups from a single domain controller. If you register multiple domain controllers in Secure Access, the Cisco AD Connector only attempts to perform an LDAP sync against the first domain controller in the list. Ensure that the domain controller you are registering is not subject to any AD replication delays. Read-only Domain Controller (RODC) registrations are supported for retrieval of users and groups.

If you need to periodically bring down your domain controller for maintenance or updates or your domain controllers are behind a load balancer that does not support LDAP queries, we recommend that you register the domain instead.

Before you begin

Procedure

  1. Navigate to Connect > Users and Groups > Users, click Configuration Management > Integrate directories, and then click Active Directory.

  2. Click Next, and then choose Domain Controller.

    Register the domain controller with Secure Access.


    The AD Add Domain Controller interface.
  3. Enter the details for the domain controller.

    • Hostname—The hostname of the server where the domain controller is deployed.
    • IP version—The IP address version to use. You can use IPv4 only, IPv6 only, or Mixed IPv4 and IPv6.
    • Internal IPv4 address / Internal IPv6 address / both —The private IP address of the server where the domain controller is deployed. This field becomes available based on the IP version selection.
    • Domain—The domain where the domain controller receives the events.
  4. For Active Directory site, choose a Site to associate with the domain controller.



  5. Click Next, and then follow the instructions to install the AD Connector.


Add a Domain

Before you begin

Procedure

  1. Navigate to Connect > Users and Groups > Users, click Configuration Management > Integrate directories, and then click Active Directory.

  2. Click Next, and then choose Domain.Register the AD domain with Secure Access.


    The AD Add Domain interface.
  3. For Domain, enter the domain name.

  4. For Active Directory site, choose a Site to associate with the AD domain.


    The AD Configure Domain interface.
  5. Click Next, and then follow the instructions to install the Cisco AD Connector.


View AD Components

The integration of Active Directory (AD) with Cisco Secure Access requires that you add the organization's AD components on Secure Access and integrate a Cisco AD Connector. Once these AD components are added, you can view them in Secure Access. You can also view the AD Connector deployments in Secure Access.

This guide describes how to view the AD components that you registered with Secure Access and the AD Connectors, which you deployed in your environments.

It can take up to four hours for large numbers of AD user and group objects to synchronize for the first time.

Seeing your groups listed means the domain controllers have automatically synchronized user and computer group memberships with Secure Access through the AD Connector successfully. Any subsequent changes should also sync successfully.

Note
If the AD Connector does not appear in Secure Access and you have met the network requirements, check that the AD Connector server is not missing the DigiCert CA. If a certificate error is presented, download and install the latest DigiCert Global Root CA from DigiCert and restart the Cisco Active Directory Service. If it does not appear, contact Cisco Secure Access Support.

Before you begin

Procedure

  1. Navigate to Connect > Users, Groups, and Endpoint Devices , click Configuration management, then expand Active Directory.


    The Provision Users Groups AD interface.
  2. For Active Directory components, view the properties of the installed AD components.

    • Name—The hostname of the Windows computer where you installed the AD Component.

    • Type—The type of AD component, either Domain Controller, Domain, or AD Connector.

    • Load Balancing Group—The group assigned to the Domain, Domain Controller, or AD Connector. Components with the same value process authentication events only within the same group.

    • Internal IPv4—The internal IPv4 address of the AD component.

    • Internal IPv6—The internal IPv6 address of the AD component.

    • AD Tag—The unique label that identifies the Site associated with the AD component.

    • Status—The state of the AD component.

    • Version—The version of the AD component.

    The Manage AD Components Load Balancing 01 interface.

Assign a Load Balancing Group to AD Components

Use the Load Balancing Group column in the Active Directory Components table to group related AD components for load balancing. To place components in the same group, enter the same Load Balancing Group value for each component.

To create a new Load Balancing Group, enter a new group name and save your changes.

Before you begin

Procedure

  1. Navigate to Connect > Users and User Groups, click Configuration management, and then expand Active Directory.

  2. At the top of the Active Directory section, click Edit.

    Note
    Do not use the Actions menu (...) for an individual component. That edit option is for changing the AD site association.
  3. In the row for the Domain, Domain Controller, or AD Connector that you want to update, enter a value in Load Balancing Group.

    The Manage AD Components Load Balancing 01 interface.
    Note
    The Load Balancing Group value is case-sensitive. Differences in spelling or letter case create a different group.
  4. Repeat Step 3 for each component that you want to include in the same group.

    Use the same Load Balancing Group value for all components that must process authentication events together.

  5. Click Save at the end of the Active Directory section.

Secure Access updates the Load Balancing Group assignment for the selected AD components.


Edit Sites for AD Components

The Cisco Active Directory (AD) Connector and the organization's AD domains and domain controllers integrate Cisco Secure Access with your instance of Microsoft AD. After you add an AD component in Secure Access, you can select a Secure Access Site for the AD Component.

Follow these steps to edit a Site for an AD component that is deployed in your on-premises environment.

Before you begin

Procedure

  1. Navigate to Connect > Users and User Groups.

  2. Click Configuration management

  3. Expand Active Directory.

  4. Click the ellipsis (...) to the right of an installed AD component in the Active Directory components.

  5. Click Edit Site.

    Click Configuration management Expand Active Directory. Click the ellipsis (... ) to the right of an installed AD component in the Active Directory components. Click Edit Site.
  6. Choose an Active Directory site for the AD component.

    The Edit AD Site interface.
  7. Click Save.


Delete AD Components

Use this procedure to delete a single AD component or all AD components from Secure Access.

If you delete all AD components, Secure Access also removes the users and groups that were provisioned from AD.

Before you begin

Procedure

  1. Navigate to Connect > Users, Groups, and Endpoint Devices, click Configuration management, and then expand Active Directory.

Delete one AD component
  1. In Active Directory Components, locate the AD component that you want to delete, and then click the ellipsis (...).

  2. Click Delete.


    image
  3. Click Delete to confirm.

Delete all AD components
  1. In Active Directory Components, click Delete.


    The Delete All AD Components interface.
    Warning
    Deleting all AD components also removes the users and groups that were provisioned from AD.
  2. Click Delete to confirm.

Secure Access deletes the selected AD component or all registered AD components, depending on the action that you chose.