Search the VMware Knowledge Base (KB)
View by Article ID

"An error occurred during OAuth2 operation" while accessing the vRealize Orchestrator Control Center (2151282)

  • 2 Ratings


When you attempt to access VMware vRealize Orchestrator Control Center, you receive an error similar to:

An error occurred during OAuth2 operation.  Please contact your administrator to resolve the issue.
( "error": "invalid_request", "error_description": "Must provide a valid redirection uri." )


This issue occurs when some upgrade tasks related to vRealize Orchestrator's RBAC activation failed to process.


This is a known issue affecting VMware vRealize Automation 7.3.
Currently, there is no resolution.

To work around this issue:
  1. Snapshot or backup your environment before proceeding.

  2. Identify the master database node in your vRA HA environment and stop vco-server and vco-configurator services on all other nodes.

    1. Identify the master database node by navigating to VAMI UI > vRA Settings > Database tab.
    2. Log in to replica nodes through SSH  and run these commands:

      service vco-server stop
      service vco-configurator stop

  3. Log in to vRA master node through SSH and run this command:

    rm /etc/vco/app-server/vco-registration-id

  4. View or edit the /etc/vco/app-server/ configuration file.

    If the property name contains intervals or any other bash related special symbols, edit the file as:

    1. Copy the line with the property and put some simple string for value, for example AdminGroup.
    2. Comment the original line with the property by adding # at the beginning of the line.

  5. Reconfigure the vco-service by running this command:

    vcac-vami vco-service-reconfigure

  6. If you have changed the file in step 4:

    1. Un-comment the original line containing the property
    2. Remove the newly added line with the temporary group name.
    3. Restart the vco-server service by running this command:

      service vco-server restart

  7. Start/restart the  vco-configurator service by running this command:

    service vco-configurator restart

Additional Information

To receive an be alerted when this article is updated, click Subscribe to Document in the Actions box.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 2 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 2 Ratings