Get Labels From Active Directory Joined Servers in Okta Advanced Server Access
Last Updated:
Overview
Set up granular access for servers with labels when using an Active Directory (AD) joined flow. Configure this access by using the server agent for attribute-based access control or by mapping AD attributes to labels in an Okta Advanced Server Access (ASA) server sync job.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Okta Advanced Server Access (ASA)
- Active Directory (AD) Joined
- Server Agent
Solution
How is granular access configured using the server agent?
Configure attribute-based access control using the server agent by reviewing the PolicySync: Attribute-Based Access Control documentation.
Configure granular access using an Active Directory join.
Identify the attribute in Active Directory, specify it in the server sync job, and assign the label to the group by following these steps.
- Identify the attribute that needs to be added as a label. View user attributes by opening Active Directory Users and Computers, selecting View, clicking Advanced Features, and selecting the Attribute Editor for the machine. The location attribute serves as an example in the following image.
- Log in to the Okta Advanced Server Access Admin Console.
- Specify the selected attribute under the server sync job with a label for use in Okta Advanced Server Access. The location attribute maps to the
testlabel in the following image.
- Wait for the job to finish and click the server to view the displayed label in the following image.
- Assign the label to the group to grant granular access to selected users. For example, only users with the
locationattribute set toUSin Active Directory can access the servers. Review the server selector tags in the following image.
NOTE: The label requires the ad. prefix to exactly match the label key on the server details page.
