I have a solution that includes two Custom Connectors. I'm trying to publish the solution as a managed solution to a different environment. I'm having two problems. Both related to solutions and custom connectors.
- When I import into the prod environment I'm creating connections for all the connecters including the custom ones. One of them works fine, the other gives me an error. The request failed with error: '{"error":{"code":"0x80040217","message":"connector With Id = Does Not Exist"}}'. The correlation Idis .
- The host for the dev environment is different from the prod environment. I decided to solve this using environment variables ( https://learn.microsoft.com/en-us/connectors/custom-connectors/environment-variables ). When I save I get an error Environment variables are not supported in non-solution custom connectors.
So it seems that error 1 indicates that one of the connectors actually isn't part of the solution. But error 2 happens for the one that I can actually create a connection for in the import.
I am under the impression that these custom connectors are a part of the solution, but there is a possibility I created them outside of the solution and imported them later into it ( it's been a while ).
Can I ensure that the connectors are specifically managed in the solution? Would I need to recreate them perhaps?
The names of the connectors indicate that they are solution made, they have the solution specific prefix. Environment variables work for one of them. It is reversed from the import. So one has a problem with Env Variables, the other gives error when importing.

Report
All responses (
Answers (