After upgrading Automation Analytics and Intelligence (AAI) to version 24.4 and configuring role-based security using EEM (Embedded Entitlements Manager), users are unable to see any jobstreams, definitions, or business areas in the AAI UI.
Symptoms observed:
Authentication via EEM succeeds — users can log in without error.
After login, no Jobstream Definitions.
The issue affects all EEM-authenticated users regardless of their group membership.
JobstreamV2 policies are configured in EEM and appear correct.
Repeated entries in jaws.log:
AC=view:RC=Jobstream:RN=<stream name>:PO=null DENIED
Warning at startup in jaws.log:
JAWS resource class not found in eIAM: "Jobstream"; all access checks for this class will be denied
Product: Automation Analytics and Intelligence (AAI)
Version: 24.4
Authentication: EEM (Embedded Entitlements Manager)
Upgraded from: AAI 24.3 or earlier
Condition: Post-upgrade EEM migration steps not completed, or completed partially.
AAI 24.4 replaces the legacy Jobstream EEM resource class with a new JobstreamV2 resource class. A migration switch in AAI determines which resource class to use by querying EEM for any policies still associated with the old Jobstreamresource class.
If enabled Jobstream policies are found: AAI continues to use the deprecated Jobstream path.
If none are found: AAI switches to the new JobstreamV2 path.
During the 24.4 upgrade, the Jobstream resource class is removed from the EEM application registration. However, existing Jobstream policies are not automatically removed from EEM's policy database. These policies become orphaned:
They are no longer visible in the EEM administration UI because the Jobstream category no longer exists in the application registration.
They are still present in EEM's internal policy database and are returned by AAI's policy query API (searchPolicies).
Because AAI's migration switch finds these orphaned, enabled policies, it stays locked on the deprecated Jobstreamauthorization path. Since the Jobstream resource class is no longer registered in EEM, all checks on this path return PO=null DENIED—making all jobstreams invisible to all users. The JobstreamV2 policies configured in EEM are never evaluated.
Typical orphaned policy names:
Simple Jobstream policy
Simple Jobstream add-delete policy
Simple Business Area policy
Note: This can be confirmed by exporting the EEM configuration with
safexand searching the exported XML for:<ResourceClassName>Jobstream</ResourceClassName>
Locate enableAndDeleteEEMPolicies.sh in the AAI installation directory.
Run the script:
./enableAndDeleteEEMPolicies.sh \
-h <EEM_hostname> \
-u EiamAdmin \
-p <password> \
-exportPath /tmp/eem
Answer the resulting prompts:
Disable old policies and enable new policies? — enter: yes
Delete old Jobstream policies? — enter: yes
Restart the JAWS service.
Confirm the fix. In jaws.log, the following line should now appear:
areAllPoliciesDisabledForResource=true
Jobstream access checks will now use RC=JobstreamV2, and users covered by the JobstreamV2 policies will be able to see their jobstreams.
Use this option if the migration script is not working to resolve this.
Export the current EEM configuration using safex, or obtain the existing AAI.xml export.
In the exported XML, locate all <Policy> elements that contain: <ResourceClassName>Jobstream</ResourceClassName>
For each of these policies, change: <Disabled>False</Disabled> to <Disabled>True</Disabled> or just remove these Resource Classes from the file.
Re-import the modified XML using safex.
safex – u <username> –p <password> –f JAWSCreate.xml
Restart the JAWS service.
Confirm the fix as described in step 5 of Option 1.
AFTER APPLYING THE FIX: Ensure that users' accounts are members of the JAWSUsers or JAWSAdministrators Dynamic User Groups (DUGs) in EEM. The
JobstreamV2policies gate access on these groups. Users who are not members of either DUG will not see jobstreams even after the fix is applied.