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 Apps / How can I update from ...
Power Apps
Unanswered

How can I update from dev to prod custom connector endpoints in a managed solution?

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

TL;DR - The canvas app in a managed solution imported to our Prod environment is pointing to our dev Custom Connectors since it was developed in our dev environment. I need to edit it to have it use the prod environment's Custom Connector.

 

I have two environments: Dev and Prod. I developed the canvas app in a solution and the Custom Connector outside of the solution, both in the dev environment. The Custom Connector is outside of the solution because Custom Connectors within solutions cannot be shared with email-enabled security groups, only individuals, which isn't viable for us. I export my solution as managed and then import it to my Prod environment. I then created a Custom Connector in the Prod environment that will point to our prod API endpoints.

 

I'm realizing the problem is that because this is now a managed solution, I can't edit my canvas app. The edit button is grayed out. The canvas app is imported into Prod with my queries pointing to the dev Custom Connectors (which point to our dev API endpoints). I need to go in to the canvas app and add the prod Custom Connector as a data source and change the queries to point to the prod Custom Connector (which points to our prod API endpoint). How can I go about doing this? Should I just be exporting/importing as unmanaged solutions to get around this?

 

aec2018_0-1663809152685.png

 

 

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @aec2018 

    Could you check if in the source solution from the source environment,  rather than using hard-coded parameters, data sources, etc. - if you could use Environment variables - docs.microsoft.com to achieve your goals?

     

    Certain things like data sources, etc. should have different values in the development environment, production environment, and other environments such as staging, etc. For this, it would be appropriate to have certain things which could be changed depending on what environment you are in. The feature in Power Apps called "Environment variables" might suit this purpose for you.

     

    Check if it helps @aec2018 

  • aec2018 Profile Picture
    Microsoft Employee on at

    @poweractivate 

     

    Thank you for introducing me to environment variables. It does look like this will be useful in general. However, I'm afraid this won't help me because while the environment variables can change, the Custom Connector in my production environment won't be loaded in the canvas app, correct? I would need edit enabled to add the Custom Connector as a data source. So while I can change the environment variables to reflect a prod query, they won't be connected to the prod Custom Connector. What I'm thinking then is that I just need to work with unmanaged solutions so that I can go in and manually add the prod Custom Connector and change the queries to point to it.

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard