"The connector(<guid>) component cannot be deleted because it is referenced by 1 other components."
- RemoveSolutionComponentRequest returns success but the row remains
- Re-creating the missing botcomponent fails with CrmDuplicateRecordException ("Cannot insert duplicate key")
-------------------------------------------------------------
The dependency for FADV ADO Assistant1 points to botcomponentid:
146493b7-8449-f111-bec6-00224821b081 (confirmed missing)
A similar orphan dependency exists for each of the other 9 connectors. Sample correlation IDs from failed deletes are available on request.
---------------------------------
58180865-e648-f111-bec6-00224821b081 "FADV Azure DevOps (ADO) Assistant"
The 10 connectors above were originally added as Tools to this agent and then removed via the Copilot Studio UI. The connectors and their wrapper solutions (fadvadoAssistant1_..._9) have already been cleaned up; only the orphan dependency entries remain.
-----------------------
1. Power Platform CLI: pac connector list works, but `pac connector delete` is not a supported subcommand (v2.7.4)
2. Remove-PowerAppConnector (PS): returns 400 Bad Request
3. Remove-CrmRecord on connector: 0x8004f01f
4. Web API DELETE on /api/data/v9.2/connectors(<id>): 0x8004f01f
5. RemoveSolutionComponentRequest on the orphan: returns success, row not removed
6. Direct delete of solutioncomponent / dependency rows: not supported
7. Recreate botcomponent stub: CrmDuplicateRecordException
8. PublishAllXmlRequest, then retry: same error
9. Power Apps maker portal Delete: silently fails (connector reappears on refresh)
10. Power Automate maker portal Delete: same silent failure
11. PowerApps RP DELETE (api.powerapps.com/.../apis/<connector>): InstanceApiRequestFailed wrapping 0x8004f01f
-------
Please run the internal CleanupSolutionComponents (or equivalent) tool to remove the orphan dependency / solutioncomponent rows referencing missing botcomponentid 146493b7-8449-f111-bec6-00224821b081 (and the 9 similar orphans for the other connectors), so I can delete the 10 listed connectors normally.

Report
All responses (
Answers (