- Retrieve a discovered Active Directory account
- resource_admin
Retrieves a particular discovered Active Directory account by ID
- Production serverhttps://{org_name}.pam.okta.com/v1/teams/{team_name}/resource_assignment/active_directory/{ad_connection_id}/accounts/{ad_account_id}
curl -i -X GET \
'https://{org_name}.pam.okta.com/v1/teams/{team_name}/resource_assignment/active_directory/a747a818-a4c4-4446-8a87-704216495a08/accounts/a747a818-a4c4-4446-8a87-704216495a08' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Success
Describes the detailed status of a service account
| Enum Value | Description |
|---|---|
| PENDING | The account is being created |
| CREATION_FAILED | The account can't be created |
| STAGED | The account is in the Okta Privileged Access resource assignment area |
| ROTATING | The account is assigned to a project in Okta Privileged Access. Credentials are currently being synced using Okta Lifecycle Management. |
| ROTATED | The account is assigned to a project in Okta Privileged Access. Password rotations are fulfilled by Okta Lifecycle Management. |
| ROTATION_FAILED | The account is assigned to a project in Okta Privileged Access. An error occurred while using Okta Lifecycle Management to rotate the password. |
| VAULTED | The account is assigned to a project in Okta Privileged Access. A manually managed password is assigned to the account. |
| MISSING_PASSWORD | The account is assigned to a project in Okta Privileged Access. A password isn't assigned to the account. |
| UNMANAGED | The account is assigned to a project in Okta Privileged Access. Initial password sync hasn't been attempted. |
| ROTATION_PENDING | The account is assigned to a project in Okta Privileged Access. A password rotation has been requested but has not yet started. |
| AVAILABLE | The account is assigned to a project in Okta Privileged Access. An admin has stored the password that is already in use on the account, so the account is ready for use without a rotation. |
Timestamp indicating when the Active Directory account was managed by Okta Privileged Access
The UUID of the Active Directory account
A timestamp indicating the last password rotation for the Active Directory Account
The match status of the Active Directory Account
The error message metadata reported during the most recent failure to change the account password
A timestamp indicating when the remote system last reported a failure to change to the account password
A timestamp reported from the remote system indicating when the remote system last failed to change the account password
The type of error message reported during the most recent failure to change the account password
A timestamp indicating when OPA last reported a change to the account password
A timestamp reported from the remote system indicating when the remote system last changed the account password
The number of times an account's password change resulted in failure
The number of times an account's password change failed after the last successful attempt
The number of times an account's password was successfully changed
The timestamp when a user's exclusive access to the Active Directory account expires
The Active Directory account's exclusive checkout status
The username of the user who last accessed the Active Directory account through exclusive checkout
The reason for scheduling the next password rotation for the Active Directory account
{ "checkout_expiry_at": "2019-08-24T14:15:22Z", "checkout_status": "available", "last_checkout_user": "string", "next_scheduled_password_rotation_reason": "string", "next_scheduled_password_rotation_timestamp": "2019-08-24T14:15:22Z", "account_name": "string", "account_status_detail": "STAGED", "account_status_detail_message": "string", "account_type": "SHARED", "brought_under_management_at": "2019-08-24T14:15:22Z", "display_name": "string", "distinguished_name": "string", "domain": { "id": "string", "missing": false, "name": "string", "type": "active_directory_connection" }, "email": "string", "first_name": "string", "id": "/regex/", "last_name": "string", "last_rotation_at": "2019-08-24T14:15:22Z", "match_status": "MATCH", "matched_user": { "id": "string", "missing": false, "name": "string", "type": "active_directory_connection" }, "project": { "id": "string", "missing": false, "name": "string", "type": "active_directory_connection" }, "resource_group": { "id": "string", "missing": false, "name": "string", "type": "active_directory_connection" }, "sam_account_name": "string", "sid": "string", "upn": "string", "last_password_change_error_metadata": "string", "last_password_change_error_report_timestamp": "2019-08-24T14:15:22Z", "last_password_change_error_system_timestamp": "2019-08-24T14:15:22Z", "last_password_change_error_type": "string", "last_password_change_success_report_timestamp": "2019-08-24T14:15:22Z", "last_password_change_system_timestamp": "2019-08-24T14:15:22Z", "password_change_error_count": 0, "password_change_error_count_since_last_success": 0, "password_change_success_count": 0 }