unable to set gmsa account in schedule task

Mohamed SAKHO 126 Reputation points
2023-08-10T13:48:14.6566667+00:00

Hello All,

I would like to create un schedule task by using gmsa account for running the task.

But when I set the GMSA account in the schedule task I have the message error joined in the picture.

When I browse in entire directory, the it not founds the GMSA Account, even though it does exist

Please somebody can help me please? I followed the good process to create the GMSA, so I don't know how ti resolve this issue.

Thanks

schedule task

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Евгений Котляревский 41 Reputation points
    2023-08-10T13:58:04.8566667+00:00

    Hi!
    It is not possible to create scheduled task with gmsa via GUI, because account password should be entered and I suppose you don't know this password).

    To create task with MSA you should:
    First, you should create task with any regular user (it is temporally)

    Then, you should change this task via PowerShell to set gmsa account in to this task. To do so, read this for example.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.