We're using TFS 2018 (Update3.2) to do continuous integration and deployment. I have a release definition where we do a SQL deployment (run a SQL file) and IIS deployment.
IIS deployment works but the SQL deployment fails saying "SQL Powershell Module is not installed on your agent machine...". I installed the SQL Server PowerShell module, restarted the server, recreated the agent but still getting the same error. SQL PowerShell module is installed on the TFS and web server. Does it have to be installed on SQL server as well? Am I missing anything? Please help.




