Hello there,
Perhaps might be an permissions issue.
This problem may occur when the following conditions are true:
The Network Service account does not have the correct permission when Windows Remote Management (WinRM) tries to query the security logs from the source computer.
Permissions to manage the security event log are modified by registry or by configuring the Manage auditing and Security log
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--