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 / Custom Connector with ...
Power Automate
Unanswered

Custom Connector with Gateway and Host set by EnvVar - EnvVar update not considered

(0) ShareShare
ReportReport
Posted on by 96
As described in subject. We have a custom connector which connects through on-prem-datagateway to internal API. All working.
The host the connector is set by an environment variable in the same solution - to be able to point to QA and PROD APIs depending to which stage the solution with connector (and env var) are deployed to.
 
Now, the host of the QA API has changed. When I change the env var current value to point to a different host, I cannot tell when the new value is considered when testing the connector directly or calling it from a flow... it seems to be cached?!
 
My questions:
  • Do I have to publish anything?!
  • In the past I made the observation, that I have to save/update the connector (without any changes) once after changing the env var?!
  • Or do I have to "create" a new connection?!
  • Can I see the "interpolated" host in some browser dev tools while testing the connector?
  • How to use the custom connnector custom script block to "just" log the host but keep request and response "untouched"?
Thank you for your help
 
PS: there is only Authentication and Licensing available as categories ... it's mandatory ... not other more fitting options - sorry
Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard