You can find the assignments in idmv_link_ext. The example query below returns all failed assignments.
mcThisMSKEYVALUE, mcOtherMSKEYVALUE, mcExecState, mcExecStateHierarchy, mcAssigner from idmv_link_ext where mcExecState = 4 or mcExecStateHierarchy = 4
You can find more information in this forum with search about the statuses (mcExecState or mcExecStateHierarchy).
You can for example create the job with toGeneric-pass that fetches all the failed privilege assignments and call the uRetryPrivilegeAdd in an entry script.
The first parameter of uRetryPrivilegeAdd is the user's MSKEY and next is the MSKEY of privilege: uRetryPrivilegeAdd(Int MSKey, Int Privilege)
regards, Tero