Powershell error when deploying cert to RAS

I am trying to use the built-in task for Remote Access Server, but get powershell errors.

The taskuser is local administrator.

The Set-RemoteAccess command is available when i open powershell.

The in-process mode uses Powershell 7, try the Auto mode with the normal service user?

Apologies.
I was sure that it would not run under the service account (system), so I always tested with a dedicated administrator account.
It works.

1 Like