ServiceNow Plug-In for Aria Automation fails to run scheduled jobs
search cancel

ServiceNow Plug-In for Aria Automation fails to run scheduled jobs

book

Article ID: 430114

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

ServiceNow Plug-In for Aria Automation fails to run scheduled jobs error with code: 401 - Invalid username/password combo statuscode: 401"

 

Error seen on the Service Now Plug-In for Aria Automation

xxxx-xx-xx xx:xx:xx xx,Error,"Import::: Project: endPoint: https://FQDN_Aria_Automation/project-service/api/projects/?size=200&page=0&$orderby=name Error found: REST call error found inside EndpointRegister.reconcileProject:Method failed: (/project-service/api/projects/) with code: 401 - Invalid username/password combo statuscode: 401" .

Environment

Aria Automation 8.18.x 

Cause

The API token is either expired or disabled 

Resolution

To check the API token expiration date for the ServiceNow ITSM plugin .The "API Token" used in this integration is typically an OAuth Refresh Token.


   Follow the following step to checking the ' API Token ' expiration in ServiceNow

  • Since the plugin resides in the ServiceNow, the token it uses to communicate with Aria is stored in the Application Registry.
  • Log in to your ServiceNow instance as an Admin.
  • In the Navigator, go to System OAuth > Application Registry.
  • Click on the record created for VMware Aria Automation (often named "VMware vRA" or "Aria Automation Endpoint").
  • Look for the OAuth Entity Tokens related list at the bottom of the form.
  • Check the Expires column for the Refresh Token.

Note: If the list is empty, the token may have already expired or hasn't been generated yet.

  • Default Lifespan: By default, ServiceNow sets refresh tokens to 100 days (8,640,000 seconds), but this can be modified in the Refresh Token Lifespan field on the Registry record.