We have a flow which is triggered on submission of a Microsoft Form (When a new response is submitted). We want to set up Environment Variables so that e.g. the dev flow references the dev form, the test flow references the test form and the production flow references the production form.
I have set up an Environment Variable with no default value and a current value in the dev environment.
In the flow, if I go to a later action related to the form, I can remove the hard-coded form id value and choose 'enter custom value'. I now get the list of available Environment Variables come up and I can choose the one I set up.
However, when I delete the hard-coded form id value in the trigger, and click 'enter custom value', I get no list of Environment Variables. Just a sad sorry empty field.
The documentation here says that Environment Variables can be used in triggers, but this isn't happening for me. Does anyone have any insight please?
Solved! Go to Solution.
I have just tried to write as you said, in the trigger @parameters('my_env_var') but the flow is not being triggered actually. Taking the responses I use the variable without problems. Am I missing something?
If I write the form id it works perfectly.
Thanks in advance for your help
I can confirm that environment variables are not supported yet for MS Forms trigger:
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!