Some admins are unable to record learning for item(s) or schedule Offerings
com.plateausystems.elms.util.helper.ElmsUncheckedException: org.springframework.security.oauth2.consumer.OAuth2AccessDeniedException: Error requesting access token. at com.plateau.sfintegration.impl.trainingevent.CDPTrainingEventServiceImpl.addComponentTrainingEvent(CDPTrainingEventServiceImpl.java:224)
Caused by: org.springframework.security.oauth2.consumer.OAuth2AccessDeniedException: Error requesting access token.
Caused by: org.springframework.web.client.HttpClientErrorException: 403 Forbidden
- Learning Management system (LMS)
- Learning admin interface accessed from Bizx (or integrated)
- Record learning wizard
- Career Development Plan
Reproducing the Issue
- login to CDP (also known as Career Development Plan module) and add a Learning Activity for a user or as a user (self-assigned)
- LMS Admin: go to the LMS Admin side (in integrated mode- via Bizx) and try recording the learning for the user via the Record Learning Tool
Try recording the learning from the Actions menu of the Schedule Offering record
- the error will be displayed and the learning will not be recorded
- The communication failure between the LMs and the CDP module is due to a difference in the users/Admin IDs mapping. This prevents the Admin from recording the learning completion.
- LMS and CDP being two different modules there is a validation process required to authorize communication (in this case: updating the completion status in CDP for the learning recorded in LMS) between both modules.
- One of the criteria required for this validation to be successful is to have matching match IDs for Bizx user, LMS user and LMS Admin who is performing the recording activity.
The ID mapping needs to be corrected to ensure that BizX user ID= LMS User ID = LMS Admin ID.
In most cases Bizx ID=LMS User ID but the LMS admin ID is different and therefore a new admin account needs to be created and related to the LMS user:
- LMS Admin> System Admin> Application Admin> Admin Management > search for the admin record who is facing the issue
- remove the association with the current user in LMS (delete the value in the field: "related user" in the Summary Tab)
- create a new Admin record with an ID that matches the LMS user ID and Bizx ID
- in this new Admin record: associate the corresponding LMS user ID in the "related user" field in the Summary Tab
Matching the IDs is the best recommended practice in a SuccessFactors integrated environment.
An enhancement will be released in 1705 version of the LMS (ref: LRN-16663) that will allow these IDs to differ.
Career; Development; Plan; activity; record, completed; complete; record learning financial; record learning multiple; completion;OAuth2AccessDeniedException: Error requesting access token;HttpClientErrorException: 403 Forbidden , KBA , LOD-SF-LMS-CDP , LMS Career Development Program , LOD-SF-LMS , SuccessFactors Learning , LOD-SF-LMS-ADM , Admin Tools , LOD-SF-LMS-INT , LMS Integrations , Problem