Data source environment variables store parameters that are required by one or more actions in the connector and these parameters often vary depending on the action. For example, a SharePoint Online connection does not store any information about sites, lists, or document libraries.
Environment variables have been a powerful tool for a variety of ALM scenarios as they allow you to externalize input parameters from the components that use them. Theyโ€™re now much simpler to work with and can store parameters required to connect to data using Data Source Environment Variables. This allows you to change the data sources (as well as other types of parameters) when migrating solutions to other environments.

Announcement Blog:

#PowerApps #PowerAutomate #Solutions

Table of Contents:
00:00 – Introduction
00:45 – Create solution and add components (Power Apps, flows)
04:33 – Create a Power App in solution
04:50 – Enable Canvas App to store environment variables when connecting to SharePoint as data source
08:06- Create Power Automate flow in solution
08:33 – Use data source variables in Power Automate flows
11:54 – Export a solution from development environment
15:57 – Import a solution into production environment
17:08 – Set environment variables when importing solution
19:40 – Subscribe to Reza Dorrani channel

  1. Praveen Manne 5 months ago

    Excellent video! Thank you for sharing

  2. MrMytubejc 5 months ago

    Is it possible to import solution multiple times into production environment, giving each a unique name? I.e letโ€™s say you had 3 service desk sites in your tenant and each wanted that same solution but linking to their sites/lists?

  3. Viraj Patil 5 months ago

    Awesome, thanks for sharing ๐Ÿ˜Š

  4. Ulf Werner 5 months ago

    Hey reza, again great video. Do you know if its possible to manipulate the environment variables from inside a app or a flow? Actual i use sharepoint list to store needed variables which i need in runtime of my apps or flows. But think it would great to use a environment variables for it cause i am able to use them in flows without a special initalize.

  5. Tetsuya Kawahara 5 months ago

    Awesome!! Thank you๐Ÿ˜†โœจ

  6. Sahil Thakur 5 months ago

    Thanks for sharing Reza. This has made me keen to explore how will the updates happen to say your App or flow, once you move your solution from say QA to Production.

  7. Sundra Pillay 5 months ago

    Thanks Reza

  8. Muhammad Usman 5 months ago

    Ah, long awaited feature.

  9. This is really awesome! I was setting up the connections manually ๐Ÿ˜ช

  10. Kamrul Hasan 5 months ago

    Wonderful!! Thank you for sharing and updating us.

  11. Rudimar - Power Apps 5 months ago

    You are the man!!! Great resource, thanks for sharing!! ๐Ÿ™‚

  12. parwejp 5 months ago

    Nice! Smart solution to support non-native (non dynamics) components like power apps power automate. It was working well with CDS before. I remember that in some scenarios it doesn't allow you to add existing flows to solution previously. Hoping that it works for everything now. Do we need cds enabled environment for it? How will it work for power apps list form with multi environment support now ( another video on that) ? Thanks Reza for this one. ๐Ÿ˜Š๐Ÿ‘Crystal clear.

  13. RAJnesh THAKUR 5 months ago

    Very awesome feature
    Much needed.

    Can you pls create detailed video for managed vs unmanaged?
    It will be helpful.

  14. Arjan Leuschner 5 months ago

    Awesome. Thank you. How would I handle running flows when I import an updated environment? Do I need self-recovering flows that will restart on every item and continue as needed?

  15. Krishna Bairi 5 months ago

    You are awesome boss ๐Ÿ˜Š This is an advanced learning topic for me but great video, Thank you

  16. Necdet Saritas 5 months ago

    Awesome. I have a lot of fun learning with you. Thanks Reza

  17. rajan77 5 months ago

    Thank you! Amazing content.

  18. sarat chandra 5 months ago

    Hi Reza ,if we build powerapp from teams and deployed into if we want to move from develop envrnt to other production environment .is the above capability available in powerapp in teams.

  19. MsAmyrock 5 months ago

    Excellent Rena as usual!! Thank so much for sharing. I would like to know how to move solutions from one tenant to another. That is painful. Also, I wonder if there is a way to duplicate the SharePoint site and lists so I donโ€™t have to create them manually in production when Iโ€™ve already created them in development.

  20. Ali Raza Jahangir 5 months ago

    I was always curious about these environment variables. Thank you for making them clear Reza ๐Ÿ‘

  21. Deviprasad Shetty 5 months ago

    Hi Rezza can we export or import powerapps canvas app with new, edit and display form with this approach from one environment to another. Thank you

  22. the BAD is you still need the solution or deploy dataverse for this. If you built app with only SP. Any update about if only use PA with SP?

  23. mattish ven 5 months ago

    I enabled environmental variables in settings, but it is not automatically creating environmental variable. Pls Fix this issue.

  24. sainath p 5 months ago

    Very nice .. it's very helpful.

  25. Jamie Dowdall 5 months ago

    Perfect timing Reza, I have been looking at Solutions and understand how they work for Dataverse Tables but was wondering how SP sites and lists work.

  26. Bruno Buragohain 5 months ago

    Hey Reza, awesome information. Do you know if this will also work with flows that are connected to D365F&O. Currently when i deploy the solution to a new env, I have to manually change the d365 url in the flow. Let me know. Again thanks for the video

  27. Binuz Thomas 5 months ago

    Hi Reza, could you please do a video to attach files to SharePoint' document library with drop-down list using Power App..

  28. Irfan Polra 5 months ago

    Excellent Reza…thanks a lot for the video

  29. siddharth gorowara 5 months ago

    Nicely explained

Leave a reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

ยฉ2021 TDG - We Are Back Baby!


We're not around right now. But you can send us an email and we'll get back to you, asap.


Log in with your credentials

Forgot your details?