Connecting Okta Active Directory (AD) Agents to Okta requires specific permissions to avoid activation failures. Creating a custom role and resource set provides the necessary privileges without assigning Super Administrator rights. Without these permissions, Okta may generate the following errors during the AD Agent configuration:
Device not activated
Your device cannot be activated because of an internal error
Failed to poll for a registration token: User is not assigned to the client application
.
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Active Directory (AD) Agent
- Okta Administrator Roles
- Okta Administrator Resource Set
Connecting an Okta AD Agent previously required Super Administrator permissions. Recent updates to administrator roles and resource sets allow this configuration using limited permissions. Errors occur when the administrator account lacks the specific custom role and resource set required to register and manage the AD Agent.
How does an administrator create custom roles and resource sets for Active Directory integrations?
Follow these steps to create a custom role and resource set for the administrator account:
- In the Okta Admin Console, navigate to Security > Administrators and select Roles.
- Select Create new role.
- Enter a role name and an optional description.
- Select the following permissions:
- Agents
- Manage Agents
- Register Agents
- Directories
- Manage application directory integration
- Agents
- Select Save role.
- Select Resources, and then select Create new resource set.
- Enter a name and description for the new resource set.
- In the dropdown menu, select Applications, and then choose Select Applications.
- Search for and select All Active Directory applications.
- Select Save selection.
- Select Create.
- Go to Security > Administrators > Admins, and select Add administrator.
- In the Select admin field, select the user who requires the custom role.
- Select the newly created custom role and resource set.
- Select Save Changes to complete the administrator assignment.
