My Oracle Support Banner

E-MCF/WF: Azure Returns Error "AADSTS900144: The request body must contain the following parameter: 'code'." When Running EOAWEMC or Fetch a New Authentication Token (Doc ID 2937356.1)

Last updated on MAY 30, 2023

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.59 and later
Information in this document applies to any platform.

Symptoms

When running EOAWEMC process, the following error shows up in app engine log.

ERROR
------------
PeopleTools 8.59.07 - Application Engine Server
Copyright (c) 1988-2023 Oracle and/or its affiliates.
All Rights Reserved

PSAESRV started service request at 10.59.39 2023-03-14

Generic Error {"error":"invalid_request","error_description":"AADSTS900144: The request body must contain the following parameter: 'code'.\r\nTrace ID: xxxxxx-xxxx-xxxx-5xxxx\r\nCorrelation ID: xxxx-xxxx-xxx1-xxxxxxx\r\nTimestamp: 2023-03-14 15:59:40Z","error_codes":[900144],"timestamp":"2023-03-14 15:59:40Z","trace_id":"xxxxxx-xxxx-xxxx-5xxxx","correlation_id":"xxxx-xxxx-xxx1-xxxxxxx","error_uri":"https://login.microsoftonline.com/error?code=900144"}

The issue can be replicated as will in the following steps.

1. Run EOAWEMC.

2. Check App Engine log.

Or

1. Navigate to PeopleTools > Security > OAuth2 Administration  > Retrieve OAuth2 Access Token.

2. Click Access Token link of an Oauth Name.

3. Check errorLog.html.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.