Hi Teja Alavelli
Thanks for reporting the issue,
Please update your power shell latest one (7.1 or 7.2) and try it.
Similar issue one of our community members faced please refer this https://learn.microsoft.com/en-us/answers/questions/1485574/automation-job-failed-recently-with-exception-errohttps://learn.microsoft.com/en-us/answers/questions/1485512/runbook-jobs-getting-queued-status
Please let us know if you required anything!