EPM - JIT policy not applying and SID warning present
Symptom
Symptoms (all are true):
- JIT Policy does not add user to local administrators group
- Unhandled application process launches fail to use the "Usage of JIT..." policy.
- The following warnings are present in the vf_agent_srv.trace logs
Example:
2024.11.06 07:50:24 PID:6872 TID:10356 CvfPolicyAdHoc::_FromXML: AHUE: read succeeded. UTC exp. time: 15:49:00 06-Nov-2024 , LOCAL exp. time:08:49:00 06-Nov-2024
2024.11.06 07:50:24 PID:6872 TID:10356 CvfWinBaseElem::InitializeFromOther: INFO: Can't initialize from other - it's not initialized (other content: CvfAdUser > ( elementValue = 'CONTOSO\JOHN.SMITH', initialized? 'No' : {sidStr = '', accountName = ''}) )
2024.11.06 07:50:24 PID:6872 TID:10356 CvfWinBaseElem::CvfAdUser::_LoadAccount: WARNING: could not load account from sidString (_m_sidStr = TS1730845180).
Environment
24.10 EPM EPM Agent
Windows Agent
Customer created JIT policy and specified domain user in plaintext (not using find button)
Cause
There is an issue with the EPM Agent matching the SID of the intended yser
Resolution
When creating the JIT policy, when specifying the targeting for “OS users” use the “Find” button to browse to select the AD user. This should addithe SID to the JIT policy, making it more reliable.