knowledgecenter-breadcrum

Knowledge Center

26 Jul, 2023

Troubleshooting Storage Capacity: Why Sales Insights Disabling Doesn't Free Up Space

Posted on 26 Jul, 2023 by Vaishali Vyas, Posted in Dataverse Dynamics 365 Blog

Blogs

Increase in storage space due to Sales Insights.

We had installed Sales Insights just for demo purposes, and we observed that our storage capacity got increased because of that.

However, even after uninstalling Sales Insights, our storage capacity remained unchanged.

We also had difficulties locating and uninstalling the related solution.

In some cases, these solutions may not be visible in the Solutions UI. This article aims to provide a step-by-step guide to help you locate and uninstall the necessary solutions, even if they are not visible in UI.

Tables with names ending in "-Analytics" typically store data related to predictive insights and/or analytics dashboards.

We need to remove the following four solutions:

  1. 'SalesInsightsMDLConfig'
  2. 'msdyn_connectiongraph'
  3. 'SalesInsightsAddOn'
  4. 'msdynce_RelationshipAssistantAddOn'

In this example, we will uninstall the ‘'SalesInsightsMDLConfig'  solution.

Step 1: Accessing the Environment:

To begin, log into your Microsoft Dynamics 365 environment using your credentials.

Step 2: Obtaining the Solution ID:

In a separate browser tab, enter the following URL, replacing {orgURL} with your organization's URL:

{orgURL}/api/data/v9.0/solutions?$select=solutionid&$filter=uniquename eq 'SalesInsightsMDLConfig'

This API call will retrieve the Solution ID for the solution you need to uninstall. Make note of this Solution ID.

Step 3: Uninstalling the Solutions:

Now that you have the Solution ID, follow the steps below to uninstall the relevant solutions:

A. Open your Microsoft Dynamics 365 environment.

B. Open the Developer Tools by pressing the Key F12.

C. Copy and paste the following script into the Developer Tools console:

In the script, replace `` with the actual Solution ID you obtained earlier.

After pasting the script and replacing the Solution ID, execute the script.

 Xrm.WebApi.deleteRecord("solution", "").then(
    function success(result) {
        console.log("Solution deleted");
        // perform operations on record deletion
    },
    function (error) {
        console.log(error.message);
        // handle error conditions
    }
); 

Conclusion:

By following the steps outlined in this article, you should be able to locate and uninstall Sales Insights-related solutions that may not be visible in the Solutions UI. This process can help reduce the storage capacity of your Microsoft Dynamics 365 instance.

Comment

This is a Required Field

Loading

Recent Updates

Blogs
07 Sep, 2023

Optimizing Storage with SubscriptionTrackingDeletedObject Cleanup

What is SubscriptionTrackingDeletedObject? The "SubscriptionTrackingDeletedObject" table is linked to the "DeletionService," which handles two types of cleanup: organization-wide and record-specific.…

READ MORE
Blogs
05 Sep, 2023

How to create real-time customer journeys in Dynamics 365 Marketing

Introduction: This blog will show how to create real-time customer journeys in Dynamics 365 Marketing. Customer journeys can be either…

READ MORE
Blogs
30 Aug, 2023

D365 CUSTOMER SERVICE: CUSTOMER 360 COMPONENT

Introduction: In Dynamics 365 (D365) Customer Service, the 'Customer 360' Component provides a comprehensive view of information and enables users…

READ MORE