| Mustafa Usmani

Use environment variables in solution custom connectors

Before when creating a custom connector, you’d have to change the Base URL configurations for Sandbox or Production API access. Now we have the ability to provide environment variables as a reference in our custom connectors. Not only just that we can also update other key properties of the custom connector such as Host, Client ID, Secret, etc.

In this blog we’ll see how you can use environment variable for your Host URL:

  • Create an environment variable and store the API base URL in it.

  • Now copy the Name (schema name) of the environment variable and use it in this syntax:
    • @environmentVariables("{{environmentVariableName}}")
  • Now all you have to do is use in your Host URL like this:

Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.



About The Blog

Stay updated with what is happening in the Microsoft Business Applications world and initiatives Imperium is taking to ease digital transformation for customers.


More About Us

We provide guidance and strategic oversight to C-Suite and IT Directors for on-going implementations. Feel free to give us a call.

1 331 250 27 17
Send A Message

Ready to Start?

Get a personalized consultation for your project.

Book a Meeting