Skip to main content

Notifications

Power Automate - Connector Development
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 1 Oct 2024 08:27:03 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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,316

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,290

Leaderboard

Featured topics

Loading started
Loading complete