---
title: "Disable the Sitecore Connect for Microsoft D365 Commerce - Content Hub connector"
slug: "disable-the-sitecore-connect-for-microsoft-d365-commerce---content-hub-connector"
abstract: "How to disable the Sitecore Connect for Microsoft D365 Commerce - Content Hub connector."
---
# Disable the Sitecore Connect for Microsoft D365 Commerce - Content Hub connector

Disabling the Sitecore Connect for Microsoft D365 Commerce - Content Hub connector involves D365 Commerce as well as:

- Microsoft Azure Logic App
- Microsoft Azure Power Functions App
- Sitecore Content Hub

## Azure Logic App

If you need to temporarily halt product synchronization, navigate to Azure and disable the appropriate Logic App workflows.

To disable Logic App workflows:

1. Log into your [Azure portal](https://portal.azure.com/).
2. Locate the **Resource Group** created during the installation of the connector.
3. Locate the three **Logic App** workflows created during installation. This can be done by viewing your **Logic App** resources under your **Resource Group**, or by visiting the [Logic Apps service page](https://portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.Logic%2Fworkflows). The list of available Logic Apps, for example, looks like:

    ![List of available logic apps](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/list_of_available_logic_apps.png)

4. Click the name of the **Logic App** you want to disable.
5. On the detail page, click **Disable**. This halts the workflow of the Logic App.

    ![How to disable the logic app](https://doc.sitecore.com/api/markdown-image/ch/en/users/content-hub/images/how_to_disable_the_logic_app.png)

6. Repeat the process for any additional Logic App workflows.

## Azure Power Functions App

To disable the push synchronization functionality of the connector without disabling the logic app resources:

1. Log into your [Azure portal](https://portal.azure.com/).
2. Locate the **Resource Group** created during the installation of the connector.
3. Locate the **Function App** created during installation. You can do this by viewing the Function App resource under your Resource Group, or by visiting the [Function App service page](https://portal.azure.com/#blade/HubsExtension/BrowseResource/resourceType/Microsoft.Web%2Fsites/kind/functionapp).
4. Click the Function App and, in the left pane, click **Configuration**.
5. Under **Application settings**, locate the setting named *RuntimeConfiguration:DisablePushSync* and click **Edit**.
6. In the **Add/Edit application setting** dialog box, change the Value from false to true.
7. Click **OK**.
8. Click **Save**.

    > [!important]
    > Changing application settings on the Function App restarts the application.

9. In the **Save changes** dialog box, click **Continue**.

## Content Hub

When you remove the connector from Content Hub, we recommend that you also remove the *D365Connector* OAuth client and revoke the connector user credentials in Content Hub.

To remove the connector and remove the OAuth client:

1. In Content Hub, on the menu bar, click **Manage**.
2. On the **Manage** page, click **OAuth clients**.
3. Find and delete the entry added during the connector setup.

> [!note]
> *D365Connector* is the default name for the connector. If you use settings other than those used in this documentation, you must carefully review which OAuth client you need to remove.

> [!warning]
> Deleting the D365 user or resetting the user password removes the ability for the connector to synchronize data with Content Hub.

To delete a user:

1. On the menu bar, click **Manage**.
2. On the **Manage** page, click **Users**.
3. Next to the user who you added during the connector setup, click **Delete**.
4. Click **OK** to confirm the deletion.

## Azure CDN endpoint

To disable the CDN endpoint of the Microsoft D365 Commerce - Content Hub connector:

1. Log into your [Microsoft Azure](https://portal.azure.com/#home) portal page.
2. Locate the Resource Group created during the installation of the connector.
3. Locate the CDN endpoint and click **Stop**.
4. In the confirmation window, click **Yes**.