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 188.8.131.52 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.