Hope this might be helpful:
The error "The setup failed due to a generic error. Please sign in to the Dataverse organization with an account that has the System Administrator role. Ensure that no other import or deletion of a PowerApps solution is currently in progress. Additionally, verify that the solution file is not broken and that the specified administrator has sufficient privileges," on the D365 Sales Integration Setup page, even when the user has the System Administrator role, points to a specific set of common causes.
Likely Causes and Solutions:
Concurrent Dataverse/Power Apps Solution Operations:
- Most Common Cause: The error explicitly mentions "no other import or deletion of a PowerApps solution is currently in progress." This is a frequent blocker.
- Solution: Ensure absolutely no other solution imports, exports, upgrades, or deletions are running in your target Dataverse (Dynamics 365 Sales) environment. Even a pending or failed operation can cause this. Check the "Solution History" in your Power Platform Admin Center for the environment. Wait for any ongoing processes to complete or resolve any stalled ones.
- Insufficient Privileges (despite System Admin role):
- While you state the user has System Administrator, sometimes the context of the connection user (the user account used to establish the connection from Business Central to Dataverse) might have an issue.
- Solution:
- Re-authenticate: Try to refresh the connection or re-enter the credentials for the Dataverse connection in Business Central. Sometimes, the token might be stale or have issues.
- Specific Security Role: Verify that the user establishing the connection in Dataverse not only has "System Administrator" but also the "Delegated Admin" role or other specific roles that might be required for solution deployment/configuration in Dataverse. Ensure the user directly has these roles, not just inherited through a team.
- Broken Solution File (Integration Solution):
- The error mentions "verify that the solution file is not broken." During the initial setup of the D365 Sales Integration, Business Central attempts to deploy a managed solution (the "Business Central Sales Integration" solution) into your Dataverse environment.
- Solution:
- Check Dataverse Solutions: Go to your Dataverse environment (Power Apps Maker Portal -> Solutions) and look for a solution named something like "Dynamics 365 Business Central Sales Integration."
- Clean-up/Re-attempt: If a prior attempt failed badly, there might be a partially deployed or corrupted version. You might need to manually delete any existing "Business Central Sales Integration" solutions from Dataverse (if found and if they are not fully active/functional) before attempting the setup again from Business Central. This should only be done if you are sure it's the specific BC integration solution and not impacting other parts of your Dataverse. Exercise caution here.
- Network/Firewall Issues:
- Less common for this specific error, but ensure no network or firewall rules are blocking communication between Business Central and the Dataverse URL.
To troubleshoot effectively:
- Be patient: Dataverse solution operations can take time.
- Isolate: Try the setup when no other users or automated processes are touching solutions in your Dataverse environment.
- Re-attempt: After checking for concurrent operations or manually cleaning up a broken solution, try the setup again from Business Central.
The most likely culprit is #1 (concurrent solution operations) or potentially #3 (a corrupted previous deployment attempt of the BC integration solution).
✅ Mark this answer as verified if it helps you.