Symptoms

An "Unprovisioning "user" task for McAfee APS fails with the following error:

Task name   Unprovisioning "user" for APS application McAfee_basev2b
...
Last execution output   
APS Application Error:
603 603
[BUSException] Unprovisioning: resource 0f8d1578-0c5a-4f8b-b70e-46cb9f91526a of type 'user' (http://provider.tld/mcafeev2/user/5.0) for APS application 'McAfee_basev2b-1.0-45': 603: Unprovision [User]: Could not retrieve Service User info: No resourceId provided to getResources..

Body: {
"code": 603,
"error": "BUSException",
"message": "603: Unprovision [User]: Could not retrieve Service User info: No resourceId provided to getResources.", "http_request": "DELETE /mcafee_basev2b/user/0f8d1578-0c5a-4f8b-b70e-46cb9f91526a to 'apsruntime01.provider.tld'"
}

The corresponding service user with McAfee services has already been removed, but the license is still assigned.

Cause

This issue is reported to the OA maintenance team as APS-35347: "service user is removed although linked application user removal fails".

Resolution

Please contact your Account Manager or Pooled Technical Associates team (pta@odin.com) to trace the status of the issue.

To workaround the issue please do the following:

  1. Comment the following line in the /var/www/html/mcafee_basev2b/user.php file on the APS endpoint server:

    throw new BUSException("Unprovision [User]: Could not retrieve Service User info: ".$e->getMessage(),603);
    

    To comment it, use the // code like below:

    //throw new BUSException("Unprovision [User]: Could not retrieve Service User info: ".$e->getMessage(),603);
    
  2. Re-run the failed task.
  3. After the task is completed, revert the string from step 1 to its original state.

Internal content