IIQ 8.4p1 - Okta Integration Read-Only - Task Errors

Attempting to switch Okta integration to read-only but experiencing errors in the “Okta Account Aggregation” task. Okta integration is facilitated via API token and SailPoint permissions were reduced to read-only on the Okta side.

Errors pertain to insufficient permissions which leads me to believe SailPoint is still attempting write/provisioning actions.

Error example:

Exception during aggregation of Object Type Account on Application Okta. Reason: Unable to create iterator sailpoint.connector.InsufficientPermissionException: [ InsufficientPermissionException ] [ Possible suggestions ] Furnish appropriate permission to the Okta API token owner. [ Error details ] Insufficient privileges detected. HTTP Error code : 403, Okta Error code : E0000006, errorSummary : You do not have permission to perform the requested action, errorCauses:[].

No direct ‘Provisioning Policies’ configured on the Application Definition for Okta.

Any advice on other SailPoint aspects to check to assure read-only configuration?

Hi @ibeihoffer - welcome to the SailPoint Developer Community!

The error you posted suggests the credentials you are using with the Okta connector do not have the required permissions to read the data from Okta. Given you mentioned this is an Account Aggregation, there should be no write/provisioning actions during this process.

Given the 403 error code, I would consult this table to validate your API token is scoped approrpriately.

Could you provide me answers to the following questions which can better help in troubleshooting:

  1. Have you been able to do a successful “Test Connection” for the application?
  2. Have you been able to run a Group Aggregation for this connector?
  3. Have you attempted this with new credentials?
  4. What does your filter string look like for this connector?

This post was answered by a Palyrian Solutions Architect. Feel free to message me directly if your problem requires a deeper dive.
:globe_with_meridians: palyrian.com | :telephone_receiver: ‪(301) 284-8124‬

@ibeihoffer Please enable the connector logs and see on which API you are getting the 403 error? this would help isolating the issue.

Hello @robert-hails,

Please find the responses to your questions below.

  1. Have you been able to do a successful “Test Connection” for the application?
    1. Yes, Test Connection succeeds for Okta
  2. Have you been able to run a Group Aggregation for this connector?
    1. Yes, the Group Aggregation task runs successfully daily. Only experiencing issues with the Okta Account Aggregation task.
  3. Have you attempted this with new credentials?
    1. I have not tested new credentials as the group aggregation is working as expected.
  4. What does your filter string look like for this connector?
    1. For accounts there is no filter condition currently defined. For groups the filter condition is: type eq “BUILT_IN” or type eq “OKTA_GROUP”

Thanks @ibeihoffer

Given your test connection and group aggregation are working as expected, my guess is the API token does not have valid permissions to read from all required resources within Okta.

Were you able to cross reference with the table I linked above? You can also trace the logs to help determine where the connector is unable to read from Okta

Looks like i typo’d filter string, mean to ask for feature string

I believe the OOTB for Okta is DISCOVER_SCHEMA, PROVISIONING, SYNC_PROVISIONING, UNLOCK, ENABLE, SEARCH, AUTHENTICATE, PASSWORD, CURRENT_PASSWORD

This can also be altered to block provisioning requests, in which SailPoint would create manual work items instead.

This post was answered by a Palyrian Solutions Architect. Feel free to message me directly if your problem requires a deeper dive.
:globe_with_meridians: palyrian.com | :telephone_receiver: ‪(301) 284-8124‬

I know you said Test Connection works for you, so it doesn’t apply.

However, you can also get this 403 error when attempting to connect a development environment to Okta while using a public VPN like Nord or Private Internet Access.

@robert-hails @neel193

Based off the table Robert linked earlier and discussion with our Okta team, currently SailPoint is configured as Read-Only Admin. Looking at the Okta connector logs, the 403 appears to be originating from API calls related to roles, which Read-Only Admin appears to lack.

Perhaps there is a way to ad hoc furnish the ability to read role information within Okta. If not, I will test removing the account attribute ‘roles’ under the Application Definition Schema.

@ibeihoffer Do you want to aggregate Okta roles? Have you tried removing the roles attribute in schema and running the aggregation, if it is getting successful or not?

This issue has been resolved. The problem was that the Okta role “Read-Only Admin” doesn’t permit reading Okta role info.

In Okta, access was granted for SailPoint to view role information and then the Okta Account Aggregation task succeeded.

Thanks all for your responses!

1 Like

Perfect glad it is resolved!

@isaac_cardoso0327 Please accept your latest post as solution: IIQ 8.4p1 - Okta Integration Read-Only - Task Errors - #9 by ibeihoffer
This will help other users incase they run into similar issue.