BrowserStack provisioning flow fails with the following error visible in the Okta dashboard:
Automatic provisioning of user <username> to app BrowserStack failed: Error while verifying if user <username> exists: Forbidden. Errors reported by remote server: Operation is not permitted based on the supplied authorization
- BrowserStack
- Provisioning
- Error
This error appears because the operation is not permitted for the credentials used for creating the API connection.
- Refer to BrowserStack user provisioning with Okta. On the BrowserStack side, verify the permissions for the account used to create the API connection.
- Go to Okta Admin Console and navigate to Applications > Applications > BrowserStack > Provisioning > Integration > Edit.
- Verify the User name and Access Key entered correctly.
- Click Test API Credentials, verify the connection is successful, and then click Save.
- Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.
- After locating the failed task for the user that should be retried, click on Retry Selected.
