SALES: 1-800-867-1380

Manually Deprovision a Database

Updated: May 27, 2015


SQL Azure Data Sync Icon

There may be times when you delete a database from a SQL Data Sync (Preview) sync group and the database does not fully deprovision. In such cases, you must manually deprovision the database. This topic walks you through manually deprovisioning a database after you removed it from all sync groups.

The Microsoft Azure SQL Data Sync plug-in on the Microsoft Azure Silverlight portal has been decommissioned. Going forward, use the Microsoft Azure Management portal, for Azure SQL Data Sync.

You access SQL Data Sync (Preview) via the SYNC tab under SQL Database at the Microsoft Azure Management portal. The SYNC tab is only available when you have one or more sync groups. See the topic How To: Create a Sync Group (SDS) for guidance on creating and modifying a sync group from this portal.

See the Navigation section below for links to topics you should read before you start and guidance on creating and modifying sync groups.

Modifications you can make to a sync group include:

A standalone executable is installed with the SQLDataSyncAgent-Preview-ENU.msi that you can use to de-provision the SQL Data Sync (Preview) objects that are created when you add a database or table to your synchronization service.

If you deprovision a database that is a member of more than one sync group synchronizations for all sync groups which the database is associated fail since the database is no longer provisioned.

If your topology does not include any SQL Server databases you need to install a client agent locally to get the deprovisioning tool.



DeprovisioningUtil.exe <connectionstring> [/f]


Specifies the connection string of the SQL Server database or SQL Database instance to be deprovisioned.


Deprovision without warning.


SQL Server

deprovisioningutil "Server=(local);

SQL Database

Database=NorthwindAzure; User ID=<yourID>;
Trusted_Connection=False;" /f

SQL Data Sync (Preview) is a feature of SQL Database. From the Azure Management portal you can perform all tasks necessary to create, deploy, and modify a sync group.


Before you start

Before you begin to design and implement your synchronizations, you should be familiar with these topics.

How to create a sync group

There are six steps to creating a sync group from the Azure Management portal. Details on each step can be found by following these links.

  1. Sign in to the Azure SQL Database Management portal
    SQL Data Sync (Preview) is found as a tab under SQL Database only after you create a sync group.

  2. Install a SQL Data Sync Client Agent

  3. Register a SQL Server database with a Client Agent

  4. Create your sync group

  5. Define your data sync

  6. Configure your sync group (SDS)

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft