Showing results for 
Search instead for 
Did you mean: 
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.


Hello @lliu_western 


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


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


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

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,688)