web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SharePoint Data Connec...
Power Automate
Unanswered

SharePoint Data Connection as a Variable

(0) ShareShare
ReportReport
Posted on by 289

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.

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    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-deployments/

     

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

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

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard