Hello all,
I'm building a solution where my plan is to ship a solution to another environment / tenant that includes a custom connector. Currently my solution is very simple and I'm trying to get the connector to work with some environment variables:
I'm having a challenge in the Security-tab of my custom connector. I have been instructed to refer to the environment variables of my current environment like this:
I even have the value of the client ID correctly defined in the environment variable:
When I try to create a new connection to this connector, I am getting this error:
Seems like the expression was not detected? Am I doing something wrong?
With hard-coded values the custom connector works fine, I'm only having problems with the environment variables.
Thank you in advance,
Ville
Turns out I have been using the wrong type of double quotation marks the whole time. The blog post in Power Automate (https://powerautomate.microsoft.com/en-us/blog/environment-variables-in-custom-connectors/) instructs to use the experssion:
@environmentVariables(“crd10_SnowConnector_Instance”)
... which does not work
The correct way is to use:
@environmentVariables("crd10_SnowConnector_Instance")
Now it started working. Just wasted hours solving this issue but I guess that's developing for you 🙂
WarrenBelz
770
Most Valuable Professional
stampcoin
494
MS.Ragavendar
399