<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

PagerDuty Provisioning "Error while creating user <username>: Access Denied (2010)"

Okta Integration Network
Okta Classic Engine
Okta Identity Engine

Overview

PagerDuty provisioning flow fails with the following error visible in the Okta dashboard:

Automatic provisioning of user <username> to app PagerDuty failed: Error while creating user <username>: Access Denied (2010)
 

Error Message

 

Applies To

  • PagerDuty
  • Provisioning
  • Error

Cause

This error is due to the API token used for creating the API connection not having the correct permission on the PagerDuty side.

Solution

Please follow the video or steps below: 


 

  1. Go to Okta Admin Console and navigate to Applications > Applications > PagerDuty > Provisioning > Integration > Edit.
  2. Enter the new API key with the Full Access Level that was generated in the PagerDuty Administrator Portal in the API Token field.
  3. Enter the admin username with admin or owner permissions in the Admin Username field.
  4. Click Test API Credentials, verify the connection was successful, and then click Save.
  5. Attempt the failed tasks again. Navigate to Dashboard > Tasks. Any failed assignments should appear under Tasks.

Tasks

  1. After locating the failed task for the user that should be retried, click on Retry Selected.

Related References

Recommended content

Loading
Okta Support - PagerDuty Provisioning "Error while creating user <username>: Access Denied (2010)"