When you are no longer using VConnect RP in an environment follow the below steps to remove it and its dependencies gracefully.
Go to the original install location (c:\CloudAssert\VConnectMSMForAzS2002)
Follow steps to validate the prerequisites if not done already or if the 'InputParameters.dat' file is not available.
Run the following command to uninstall VConnect resource provider.
Uninstall can take 15-30 minutes to complete normally.
3. Verify removing VConnect RP in Azure Stack Portals
In Admin Portal -> Resource Groups, the resource group named system. [location].cloudassert.vconnect should not exist.
In Tenant Portal -> Resource Groups, the resource group named system.[location].cloudassert.vconnect.rp should not exist.
4. Go to Admin portal -> Offers, clean up any Offers that VConnect RP was tied to and are no longer used
5. Go to Admin portal -> Plans, clean up any plans that VConnect RP was tied to and are no longer used
If the SQL Server was created only for VConnect RP exclusively and is no longer needed:
Follow steps in Create SQL Server VM and necessary databases in a tenant subscription including the parameter named -Uninstall $true
Once deployment successfully completes, Go to Resources -> verify SQL Server VM is not present
If the SQL Server is being used for other purposes and need to be retained:
Remove the below called out 3 databases CloudAssert.VConnect, CloudAssert.Billing, CloudAssert.DACM that was used by VConnect RP.