cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lliu_western
Resolver II
Resolver II

SharePoint Data Connection as a Variable

Hello community, 

 

I have three SharePoint sites for Development, UAT and Production. When the Flow is in the DEV environment, the trigger of the Flow connects to one of the lists in the Dev SharePoint site.

 

However, when I export the Flow from Dev and Import it into UAT, I have to manually change the SharePoint connection within the Flow so it is connected to the list in the UAT SharePoint site.

 

Is there anyway to set the "Site Address" to a environmental variable? Any tips is appreciated. Thank you.

1 REPLY 1
Jcook
Super User
Super User

Hello @lliu_western 

 

Yes, you can use Environment Variables to achieve this. Check out my Blog post on how to do this:

https://flowaltdelete.ca/2020/09/09/using-environment-variables-as-parameters-for-power-automate-dep...

 

Also a great video by Kent Weare can be found here:

https://www.youtube.com/watch?v=gTcDcOH3V0E

 


Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,306)