This blog will go over step-by-step instructions to completely uninstall and remove Web Services for Microsoft Dynamics GP.
1. The first step is to remove the database objects for Web Services from the Dynamics GP system and company databases.
To do that, we have a couple of options:
a. Under Start, find and click on ‘GP Web Services Configuration Wizard’. When the Wizard opens, click on ‘Next’ until it brings you to the ‘Select a operation to perform’ window, where you can click on ‘Remove Web Services’.
Choose the option to ‘Remove Web Services’ and click ‘Next’.
Select the company databases to remove Web Services from, then mark the option to ‘Include all system SQL Objects and Data’ before clicking Next and having the Wizard remove those database objects.
Once the Wizard is completed, it’ll prompt to restart the Microsoft Dynamics GP Service Host’ service for Web Services, then the process will be complete.
b. If you are unable to use the ‘GP Web Services Configuration Wizard’ to remove the database objects for Web Services, you can use these scripts to run against the Dynamics GP system and company databases, in SQL, to remove the objects:
Scripts to remove Web Services objects from GP system database.
Scripts to remove Web Services objects from GP company databases.
2. You may also want to remove the security store being used by Web Services for Microsoft Dynamics GP.
a. If you were using a SQL database for the security store used by Web Services, you can go into SQL Server Management Studio and manually delete the database, marking the option to ‘Close existing connections’ before clicking OK to delete it.
b. If you were using an Active Directory security store, you can remove it with these steps:
1. On the server, click on Start > Run, type in azman.msc and click OK to open the Authorization Manager store.
2. If the security store doesn’t show automatically, browse to the DynamicsSecurityAdmin.config file located in the C:\Program Files\Microsoft Dynamics\GPWebServices\ServiceConfigs\, then copy the value for the AzManConnectionString setting, which looks like this example:
msldap://DCServerName:389/CN=GPWebServices,CN=Program Data,DC=Contoso,DC=LOCAL
3. In the ‘Open Authorization Store’ window, paste this value in the Store Name field, change the authorization store type to ‘Active Directory or Active Directory Application Mode (ADAM)’ and then click OK.
4. When the Active Directory security store shows, you can right-click on the name of it and choose to ‘Delete’.
3. After the database objects for Web Services and security store are removed from all of the Dynamics GP databases, you can then uninstall the Web Services application itself:
a. In Control Panel, click on ‘Programs’ and then ‘Programs and Features’.
b. Towards the bottom of the list, find and highlight ‘Web Services for Microsoft Dynamics GP 20xx’.
c. With Web Services highlighted, you can either right-click on it and click ‘Change’ or click the ‘Change’ button above the program list.
d. In the ‘Program Maintenance’ window that opens, choose the ‘Remove’ option and walk through the removal of Web Services from the server.
e. At this point, Web Services for Microsoft Dynamics GP would be completely uninstalled and removed from the server.
Hopefully, this will help when you need to remove Web Services but not sure of the exact steps or process to do so.
*This post is locked for comments