Currently i am using domain service account to run the powershell script using task scheduler. I tried all the methods such as below
-noprofile -executionpolicy Bypass -file "E:\APPS\TC_Monitoring\tc_monitoring_v1.ps1"
Tried with highest privileges
Added logon service permission to the domain service account in local security policy and updated group policy.
Tried using /autostart
But the task scheduler perfectly works with my domain administrator account. ran out of ideas already.