If you are trying to deploy the Windows Credential Provider and see the following error there is an issue with the database we will need to resolve.
Note: This issue only affects Kaseya VSA R9.1 patch 220.127.116.11 or newer.
To resolve this issue in SQL management studio, load 'loadauthanvilagentprocedures.sql' located in the 'Kaseya\DBInstall\AuthAnvil\script ' folder.
Once you run this script deploying agents should now work. The SQL script is also attached to this article.