Authentication Error While Configuring Scheduled Task in Windows Task Scheduler

I’m trying to schedule a simple, daily task in Windows Task Scheduler. I’m logged into the Windows 10 system using an Azure Active Directory (AzureAD) user account. Under the Security Options, I’ve selected the “Run whether user is logged on or not” option, and tried typing my password when prompted.

After typing my password into the box and clicking OK, I receive a dialog box with the following error message.

Task Scheduler cannot apply your changes. The user account is unknown, the password is incorrect, or the user account does not have permission to modify the task.

Windows Task Scheduler

I also enabled the task history feature. When I try to manually invoke this task, I noticed the following message in the task history.

Task Scheduler failed to start “\Pull Docker Images” task for user “AzureAD\TrevorSullivan”. Additional Data: Error Value: 2147943712.

Windows Task Scheduler History

My guess is that this error message is appearing, due to the failed logon attempt. It’s probably a generic “access denied” message, but doesn’t tell me how to properly authenticate using AzureAD in Task Scheduler.

If someone knows how to fix this problem, I would be grateful. It seems like a bug in the operating system to me, however. I’ve submitted the bug report through the Windows 10 Feedback Hub application.