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:
I have the same question (0)

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 283

#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