How to search for a user's commits and more when they are blocked on GitLab/LDAP?

Hello there.
When users are blocked on AD after synchronization in GitLab, they are also blocked there. As a result, I cannot search for any commits related to them. How can I search for all commits or other information associated with that user?

I believe you can do it as outlined in this Gitlab issue: Can't even search by blocked users (#17549) · Issues · / GitLab · GitLab

I don’t believe there is any other way.

thank you so much