Is there any way to remove VSTS agent without PAT?

First, it’s better to remove VSTS agent through config.cmd remove command and the PAT is required, you don’t need to use original PAT, you can apply a new PAT with Agent Pools (read, manage) scope and use it to remove agent.

Secondly, without PAT:

Deleting agent from server:

enter image description here

Deleting agent service in local system through sc command if it is running as service: sc delete [service name].

After that, you can delete the agent files.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)