web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issues publishing cust...
Power Automate
Unanswered

Issues publishing custom connectors as part of a solution

(0) ShareShare
ReportReport
Posted on by 140

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.

 

  1. 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 .
  2. 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.

Categories:
I have the same question (0)
  • bankmeneertje Profile Picture
    on at

    I am experiencing the same problem as you for number 2. The only explanation I can think of is that I created the Custom Connector outside of the Solution and only in a later stadium added it to the Solution using 'Add Existing'. Is this the same case in your situation? Maybe somehow it doesn't correctly register the Custom Connector as part of the solution.

     

    Update:

    I tried updating the connector again, and it's now working while I haven't changed anything other than let it rest over te weekend. The error is still showing up on other Environments. Not clear why Power Platform is thinking that Custom Connectors are outside of the solution.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard