Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Two options are available for uninstalling Business performance analytics: code-based uninstallation and manual uninstallation.
If you must reinstall Business performance analytics after you uninstall it, wait four hours before reinstallation.
Note
If you uninstall and then reinstall Business performance analytics, no new reports that were created are saved.
Option 1: Code-based uninstallation
Sign in to the Microsoft Power Platform admin center by using Dataverse admin credentials.
Select the environment where you want to uninstall Business performance analytics.
Select the environment URL that is provided in the details. You're redirected to the sign-in page for the Dataverse environment.
Open your browser's developer tools by selecting Ctrl+Shift+I or going to More tools > Developer tools. Then select the Console tab to open the developer console.
Copy the following JavaScript code, and paste it into the developer console to start the uninstallation process.
// Get the current org URL const ORG = window.location.hostname; const WEB_API = `https://${ORG}/api/data/v9.2`; const SOLUTIONS = [ "msdyn_BpaAnchor", "msdyn_BpaPlugins", "msdyn_Bpa", "msdyn_BpaPermissions", "msdyn_BpaPermissions_TIP", "msdyn_BpaTables", "msdyn_BpaControls", "msdyn_BpaTablesAnchorSolution", "msdyn_BpaTablesUserRoles", "msdyn_BpaTablesUserRoles_TIP", "msdyn_BpaAnalyticalTablesWorkspace", "msdyn_BpaAnalyticalTables", "msdyn_BpaTablesTransformationJobFlows", "msdyn_BpaTablesTransformationJobFlows_TIP", "msdyn_BpaTablesDataProcessingConfigurations", "msdyn_BpaTablesDataProcessingConfigurations_TIP", "msdyn_BpaTablesDataLakeSynchronizationWorkspace", "msdyn_BpaTablesDataLakeSynchronization", "msdyn_BpaTablesStandardEntities", "msdyn_BpaTablesVirtualEntitiesWorkspace", "msdyn_BpaTablesVirtualEntities", "msdyn_BpaTablesManagedDataLake", "msdyn_BpaTablesManagedDataLake_TIP", "msdyn_BpaPipelinePlugins", "msdyn_BpaTablesSecurity", "msdyn_BpaTablesSecurity_TIP", ]; // Get all solutions let _getSolutions = () => { var requestOptions = { method: "GET", }; return fetch( `${WEB_API}/solutions?$filter=(isvisible%20eq%20true)&$select=solutionid,friendlyname,uniquename`, requestOptions ).then((response) => response.json()); }; // Delete the solution by solution ID let _deleteSolution = (solutionid) => { var requestOptions = { method: "DELETE", }; return fetch(`${WEB_API}/solutions(${solutionid})`, requestOptions); }; let start = async () => { console.info("Uninstalling BPA solutions"); let installedSolutions = (await _getSolutions()).value; // Sort the installed BPA solutions let installedBPASoltuins = installedSolutions .filter((i) => SOLUTIONS.indexOf(i.uniquename) > -1) .sort( (i, j) => SOLUTIONS.indexOf(i.uniquename) - SOLUTIONS.indexOf(j.uniquename) ); for (let solution of installedBPASoltuins) { console.info(`Removing solution ${solution.friendlyname}`); await _deleteSolution(solution.solutionid); } console.info("BPA Solutions removed successfully"); }; start();
Deletion of all the solutions requires approximately 20 minutes. If the operation is successful, you receive the following message: "Business performance analytics solutions removed successfully."
Option 2: Manual uninstallation
You can manually uninstall Business performance analytics through the Power Platform admin center. The solutions must be manually deleted in the following order:
- Business performance analytics anchor solution
- Business performance analytics plugins solution
- Business performance analytics solution
- Business performance analytics permissions
- Business performance analytics tables
- Business performance analytics controls
- Business performance analytics tables anchor solution
- Business performance analytics tables user roles
- Business performance analytics analytical tables workspace
- Business performance analytics analytical tables
- Business performance analytics tables transformation job flows
- Business performance analytics tables data processing configuration
- Business performance analytics tables data lake synchronization
- Business performance analytics tables standard entities
- Business performance analytics tables virtual entities
- Business performance analytics tables managed data lake
- Business performance analytics pipeline plugins solution
- Business performance analytics tables security
To delete each of the preceding solutions, follow these steps.
- In Power Apps, on the left navigation pane, select Solutions.
- Select the solution to delete, and then select Delete.
- Select Delete again to confirm the operation.
- Wait for the Deleting message box to disappear.
Deletion of all the solution requires approximately 20 minutes. If the operation is successful, you receive the following message: "Successfully deleted solution."