The following error below was prompted when i was creating a scheduled task with Windows Admin Center, see the link for how this is configured https://techdirectarchive.com/2020/03/26/how-to-create-a-scheduled-task-with-windows-admin-center/
The reason for this error in my case was because, the program executable was excluded (restricted) by the Windows firewall and because of this, Windows Admin Center was unable to load the application.
Solution: I removed the file from the exclusion list in Windows firewall.
– You can have the firewall rule deleted.
Note: In your environment, this solution might not work, take a look at your event viewer for further error analysis. See the link for similar solution.