Data Source Environment Variables in Power Platform Solutions - SharePoint

Поділитися
Вставка
  • Опубліковано 9 лют 2025

КОМЕНТАРІ • 391

  • @edjk6278
    @edjk6278 5 місяців тому +2

    I remember seeing this a couple of years ago and not being able to fully grasp everything. Today I’m using this strategically. I used the video for a refresher… Thanks mate.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      Excellent! Thanks so much for the revisit.

  • @673ritesh
    @673ritesh 11 місяців тому +1

    Thanks for replying on video which was published 2 years ago.

  • @gowrishankarg9922
    @gowrishankarg9922 3 роки тому +18

    What will we do without your knowledge sessions like this? 🤔 .. Thanks, Reza, for this and for all your video sessions. Your service is so very valuable and very much appreciated.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      Thank You so much for liking and watching my videos.

  • @ericzheng4838
    @ericzheng4838 2 роки тому +2

    Each time I need to gain some PowerApps knowledge, Reza your channel is always my first choice!

  • @danielrumbak2530
    @danielrumbak2530 2 роки тому +4

    I wish I had found this video earlier. Thank you Reza! Your service to us in the community is invaluable! Thank you again!

  • @aragondarupeshreddy
    @aragondarupeshreddy 2 роки тому +3

    From zero to hero in power apps developer with the help of Reza videos ❤️❤️❤️

  • @kausarjahan1868
    @kausarjahan1868 22 дні тому

    Thank you Reza for making the things easier for us. your content is invaluable.

  • @nihar4713
    @nihar4713 7 місяців тому +2

    this is brilliant , informative and much needed for me to get practical view of solutions and moving them across environments , very much appreciated!!!

  • @SauloOliveira
    @SauloOliveira 3 роки тому +3

    No words to describe the value of this video, thank you Reza for sharing your knowledge with us.

  • @sridharreddy1607
    @sridharreddy1607 Рік тому +2

    Asusual amazing, you are the KINGPIN of Powerapps .....KUDOS

  • @miryam5390
    @miryam5390 10 місяців тому +1

    Again Reza, your videos have been a time saver. Awesome work and thank you.

  • @krowemoh76
    @krowemoh76 2 роки тому +1

    Reza, you are the man! Thanks for this super helpful video and for taking the time to share your knowledge.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      You are most welcome. Thank You for watching the video.

  • @notonurnelly
    @notonurnelly 3 роки тому +1

    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.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      These new data source variables make it easier to work with SP sites and lists

  • @KamrulHasan-dz6vp
    @KamrulHasan-dz6vp 3 роки тому +2

    Wonderful!! Thank you for sharing and updating us.

  • @SauloOliveira
    @SauloOliveira 2 роки тому +1

    Valeu!

  • @necdetsaritas8722
    @necdetsaritas8722 3 роки тому +1

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

  • @harithakumariphoghat6814
    @harithakumariphoghat6814 7 місяців тому +1

    Thank you so much sir🥰 really very informative and understanding. i was tired of searching for how to achieve this. Really thgank you so much

  • @365g
    @365g 3 роки тому +1

    Many thanks for sharing... this is so powerful and makes life so much easier going forward 🙂

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Completed agreed. On the Power Apps community call next week, there is a lot more on environment variables - powerapps.microsoft.com/id-id/blog/may-19th-power-apps-community-call-multilingual-power-apps-environment-variables-and-more-environment-variables/

    • @365g
      @365g 3 роки тому +1

      @@RezaDorrani Perfect cheers... Now in my calendar!

  • @kalpeshpatil9
    @kalpeshpatil9 2 роки тому

    Hi Reza,
    Thanks for the wonderful explanation about the ALM

  • @bairikrishna0808
    @bairikrishna0808 3 роки тому +1

    You are awesome boss 😊 This is an advanced learning topic for me but great video, Thank you

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Glad to hear that! I try to include a mix of beginner and advanced topics to keep things interesting 😊

  • @polrairfan
    @polrairfan 3 роки тому +1

    Excellent Reza...thanks a lot for the video

  • @RudimarPowerApps
    @RudimarPowerApps 3 роки тому +1

    You are the man!!! Great resource, thanks for sharing!! :)

  • @Leo_Russo
    @Leo_Russo 3 роки тому +4

    This is really awesome! I was setting up the connections manually 😪

  • @gouravladha
    @gouravladha 3 роки тому +1

    Thanks @Reza this is really helpful, I was really struggling with this issue as all apps were created in Production and have to migrate manually. Awesome :)

  • @johnnyongesa2246
    @johnnyongesa2246 Рік тому +1

    This is so valuable, thank you Reza

  • @sahilthakur03
    @sahilthakur03 3 роки тому +1

    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.

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      I feel every SharePoint and Power Platform related solution needs to use these variables going forward.

  • @joshhammz
    @joshhammz 2 роки тому +2

    Hey Reza!
    At 13:00 you mention that we need to remove the Environment Variable site value before we export the Solution- will I need to add that value BACK in after I export the Solution so I can continue work on that development Solution? And is this is a step I need to take EACH time I export a Solution with Environment Variables?
    I've been doing a lot of learning and work with Solutions, Environments, and Pipelines and your videos have been immensely helpful, thanks for all the great content!

  • @adedaporh
    @adedaporh 3 роки тому +1

    Great video Reza! What I currently do is to create a Choice column that represent the environments 😅. I will try this out and see which is better.

  • @isabellas616
    @isabellas616 2 роки тому +1

    This is a great tutorial. Thank you!

  • @praveenmanne3438
    @praveenmanne3438 3 роки тому +1

    Excellent video! Thank you for sharing

  • @juanversal47
    @juanversal47 2 роки тому +1

    the best of the bests!!

  • @sujisam5508
    @sujisam5508 3 роки тому +1

    Thanks Reza 😊...This is very useful video

  • @vinothkumar7016
    @vinothkumar7016 7 місяців тому +1

    perfectly explained. Thanks for the video..

  • @TheDistractionStudio
    @TheDistractionStudio 3 роки тому +2

    Thank you! Amazing content.

  • @Usman_IBI
    @Usman_IBI 3 роки тому +2

    Ah, long awaited feature.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      A true game changer for Power Platform projects with SharePoint as a data source

  • @raj7sam
    @raj7sam 3 роки тому +2

    Very awesome feature
    Much needed.
    Thanks.👍🏼
    Can you pls create detailed video for managed vs unmanaged?
    It will be helpful.

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Thank You.
      Managed vs Unmanaged is very well covered in the documentation - docs.microsoft.com/en-us/power-platform/alm/solution-concepts-alm#managed-and-unmanaged-solutions

  • @RavikiranS
    @RavikiranS 2 роки тому +1

    Wonderful video

  • @virajpatil6487
    @virajpatil6487 3 роки тому +1

    Awesome, thanks for sharing 😊

  • @vijjureddy50
    @vijjureddy50 2 роки тому +1

    Fantastic tutorial

  • @MrDashingAshish
    @MrDashingAshish 3 роки тому +1

    Very well explained :) thanks for sharing

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Thanks Ashish

    • @MrDashingAshish
      @MrDashingAshish 3 роки тому +1

      @@RezaDorrani recently I appeared for an power platform interview and in the end I mentioned your name to interviewer that I follow Reza :) and he was aware of you... :) you create nice content and have presentation skills. Keep up the good work 💪

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      @@MrDashingAshish Wow. I feel it is all thanks to my subscribers who constantly share my content.
      I hope you cracked the interview 💪

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      @@MrDashingAshish Congrats!

  • @sainathp991
    @sainathp991 3 роки тому +1

    Very nice .. it's very helpful.

  • @bobbyw1074
    @bobbyw1074 11 місяців тому +1

    Thank u so much! Awesome content. Question, when creating a production sharepoint list(s), i believe the column names need to be the same. Is there an easy way to copy the test SP list to create a prod list or should i just manually create the new list and make sure the columns match?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      Column names and schema have to match.
      SharePoint has a concept of creating lists using JSON schema. I recommend checking SharePoint documentation

  • @anthonyleduc
    @anthonyleduc 2 роки тому +1

    What can i say on this video , except Wow. Migrate a powerapps to an another environnement will be no pain now

  • @elenazakopniuk4224
    @elenazakopniuk4224 3 роки тому

    common knowledge, this is how we have been doing it for a long time.

  • @yoginathbadadale
    @yoginathbadadale Рік тому +1

    Thank you Reza 🙏

  • @siddharthgorowara3139
    @siddharthgorowara3139 3 роки тому +1

    Nicely explained

  • @parwejp
    @parwejp 3 роки тому +1

    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.

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Dataverse/CDS enabled environment is needed to work with solutions.
      Process of importing existing flows and apps to solutions has significantly improved.
      For SP customized list forms with Power Apps, I don't believe there are supported yet.
      For standalone Apps connected to SP Lists, this will work as demonstrated in the video.

    • @parwejp
      @parwejp 3 роки тому

      @@RezaDorrani Thanks. Key ALM update announced does say that PowerApps list form will support ALM and multi environments. Roadmap is not clear. Could not imagine how but hoping environment variables will work for them as well. powerapps.microsoft.com/en-us/blog/key-alm-updates/

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      I hope so too.

  • @dineshmunasinghe
    @dineshmunasinghe 3 роки тому +1

    Thanks Raza!

  • @TondalayaLipshitz
    @TondalayaLipshitz 2 роки тому +1

    Brilliant

  • @mtamitolanga
    @mtamitolanga 2 роки тому +1

    Thank you Reza for this video much appreciated. SharePoint will have different sites for dev and prod, is the flow shared between dev and prod? If we only have prod, can we go back and create dev and qa then package the prod and push into qa and dev? Thank you.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Check ua-cam.com/video/Xo-TvZ9N3BM/v-deo.html
      Flow is not shared. There will be 2 separate flows.

  • @MrDionmar
    @MrDionmar Рік тому +1

    Tks a lot Reza !!!!!
    Just one question, every time that you bring some features from DEV to Prod environment, you need to compile the solution and import other time to production ????
    The link URL to the App will always modified ?
    TKS so much!!!! 👏🏻

    • @RezaDorrani
      @RezaDorrani  Рік тому +1

      Yes, you would need to export solution and import.
      It will keep app URL same in downstream environments.
      Give it a try and check.

  • @conaxlearn8566
    @conaxlearn8566 2 роки тому +1

    I noticed everytime you connect to a List, it creates one variable for Site and one variable for List. When you connect to multiple Lists in a Site, it still creates as many Site vairables as the List variables eventhough the Site value is same. Can we get rid of the redundant Site variables, Reza?

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      When you try and connect to a new list, you do have an option now where you can select an existing environment variable. That way it does not create a duplicate.
      I think I showed it on the community call. ua-cam.com/video/xCgIwP7EUw0/v-deo.html

  • @tetsuyakawahara4150
    @tetsuyakawahara4150 3 роки тому +1

    Awesome!! Thank you😆✨

  • @673ritesh
    @673ritesh 11 місяців тому +1

    Thanks for the video. I have one question. I have office 365 outlook connector added in my Powerapps app. This app is added in the solution. I was told to create connection reference for this but how do I use this connection reference in powerapps?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      It does so automatically
      learn.microsoft.com/en-us/power-apps/maker/data-platform/create-connection-reference

    • @673ritesh
      @673ritesh 11 місяців тому

      @@RezaDorrani yes, it got automatically added when solution was imported in target environment. So I do not need to create connection reference for powerapps, right?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      @@673ritesh As long as you build in solutions, you don't have to do anything else

  • @sharepointdeveloper602
    @sharepointdeveloper602 3 роки тому +1

    Thanks for amazing video. Nicely explained.
    I have one issue- not able to find environment variables in power automate. Even Add dynamic conent is not showing in trigger

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @shreecanths
    @shreecanths 3 роки тому +1

    Great video. I am having issues with Choice fields in PowerApps are not populating data though I set environment variable of the Prod environment. getting "The specified record was not found. Server Response: ListURL failed: List not found ". May be this could be bug from MS?

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      This one is a known bug. Choice fields cause issues.

  • @loishnr
    @loishnr 3 роки тому +1

    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?

    • @RezaDorrani
      @RezaDorrani  3 роки тому +2

      The flows that are in running mode will continue to use the previous flow schema.
      New flow runs will adhere to the updates pushed out via solutions.

  • @Jaythang123321
    @Jaythang123321 3 роки тому +1

    Thanks for this. I have come up with an issue on the Environment Variable name because the 'The length of the 'displayname' attribute of the 'environmentvariabledefinition' entity exceeded the maximum allowed length of '100'."}}'. The naming convention for the SharePoint site is managed by the customer. Is there a way to get around this limit?

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      You can create the variable directly in solution and then connect it in App.
      Check ua-cam.com/video/xCgIwP7EUw0/v-deo.html

  • @videmkoo
    @videmkoo 4 дні тому

    Great video (as always :) One question that really bothers me is that: is it possible to use this "Datasource Environment Variable" pointing to Sharepoint Site inside a dataflow? If not the "Datasource Environment Variable", than maybe other artifact/asset could be used intead? Suppose I have a bunch of dataflows that load data kept in Sharepoint site. I would like all these dataflows to use some kind of global parameter, that is visible for all of them and, which can be easily changed when necessary. Thank you!

    • @RezaDorrani
      @RezaDorrani  4 дні тому

      I don't think so it is supported with dataflows

  • @canipeddi
    @canipeddi 2 місяці тому

    Hi Reza, When i am creating a flow with in a solution, I do not see an option to choose environment variables(step mentioned at 8:55) in sharepoint connector(when a new item is created), Is there any thing changed recently?

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      You need to select custom item. Check in both new and old cloud flow designer.

    • @canipeddi
      @canipeddi 2 місяці тому

      @@RezaDorrani I do not see an option to "Add a custome item", Instead i see "Enter custom value", when i choose it, there is no option for dynamic content , when i create the flow it starts with new designer but changes to old and do not see an option to switch it to new.

    • @canipeddi
      @canipeddi 2 місяці тому

      Here is the image of what is see: drive.google.com/file/d/13iPklKkLcH8BLMRXNAkQGTZA2rgKOknR/view?usp=sharing

    • @RezaDorrani
      @RezaDorrani  2 місяці тому

      I have not experienced this, hence not sure.
      I suggest posting your issue on forums community.powerplatform.com/

  • @elliotavery6415
    @elliotavery6415 3 роки тому +1

    Hi Reza, great video. Quick question... Do you need to be a global admin to run this?

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      As long as you have environment maker access you should be able to work with this.

    • @elliotavery6415
      @elliotavery6415 3 роки тому +1

      @@RezaDorrani Many thanks

  • @chintandesai9942
    @chintandesai9942 2 роки тому +1

    Awesome Reza once again. The explanation was clear and understood. thank you so much!!! If you can answer this.
    8:41 I do not see the option to "Add a custom item". Do we need to activate any feature? Or Do we need extra permission at Security Role area?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I have the experimental feature for flow turned ON.
      In your scenario, if you open list dropdown, at the end you will get the custom option.

    • @sharepoint2936
      @sharepoint2936 2 роки тому

      @@RezaDorrani unable to add parameter value or unable to select enviornment variable pls explain

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      @@sharepoint2936 Cannot explain without looking at your issue in action. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @sharepoint2936
      @sharepoint2936 2 роки тому

      @@RezaDorrani ok thanks I'll post on community

  • @Abdulkhaleq-cb5sb
    @Abdulkhaleq-cb5sb 5 місяців тому +1

    Thanks Raza

  • @coolbeing163
    @coolbeing163 2 роки тому

    Hi Reza, thanks for this video. v. useful.
    Few issues I am facing if you could suggest. I am not getting the option to add the Environment var (you shown in 8:40) in Power Automate. Do we need to enable any settings ?
    2. As shown in step 12:21, Flow component didn't add their connection reference - Office Outlook and SharePoint.
    PS - I am using Trial environment.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Seems weird. There is no setting as such.

    • @coolbeing163
      @coolbeing163 2 роки тому +1

      @@RezaDorrani - Ok let me google once more time. thanks

  • @stevebekele4083
    @stevebekele4083 2 роки тому +1

    Hi Reza, thank you for the great content you share. Is it possible to point environment variables to Document Library? My flow failed when I tried it.

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Should be possible but not something I have tried

    • @stevebekele4083
      @stevebekele4083 2 роки тому

      @@RezaDorrani, thank you. This is the error I am getting "Root folder is not found". When I put the library name instead, it works with no issue.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      @@stevebekele4083 Not sure. I will recommend posting your issue with screenshots on forums powerusers.microsoft.com/

  • @karthikeyans6787
    @karthikeyans6787 Рік тому +1

    Hello Reza Dorrani,
    Thanks a lot for the helpful video sessions!
    I have a doubt, Is there a possibility to move APP and Power Automate Flows from One Environment to the Other Environment, That I want it to be only for the Developers. If So Whether the App and Flow will function which is already linked to data of existing sharepoint and environment ?
    TIA :)

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Welcome!
      Not sure I understand your question.
      Solutions can move apps and flows. Once moved to target environment, you can either connect to new site and list using environment variables or connect to existing ones without using it.

  • @xenotaph-player
    @xenotaph-player Місяць тому

    Hello, thanks for this video! Do you think its possible that instead of using 2 separates sharepoint sites, we could use a single one with 2 sharepoint subsites ? thanks you

    • @RezaDorrani
      @RezaDorrani  Місяць тому

      I have not tried with subsites, hence not sure.

  • @kavyamuniswamappa
    @kavyamuniswamappa Рік тому

    Hi Reza, thanks much for your Knowledge sharing for all out there and me. Can we do this for SQL connection as well? I see only 3 choices, SharePoint, dataverse, sap ERP under data sources in env variable.

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have not done any work with sql hence not sure. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @nnylsnosrap
    @nnylsnosrap Рік тому

    I think I waited too long to do this! When I try to add my cloud flow and add the "when and Item is created", I don't see the option for dynamic content to be able to select the environment variables. Also when I add the cloud flow, though the "maker" environment looks like power automate, the url reflects powerapps (i notice yours at the time pointed to flow). Maybe I need a premium license to add flows to a solution and have all the environment variables? Im going to keep hunting but hoping you have an answer! Thank you for getting me all this way!

    • @RezaDorrani
      @RezaDorrani  Рік тому

      Solutions requires Dataverse in environment, but user does not need to have premium license to create and use solutions.
      As for your issue, I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @nnylsnosrap
      @nnylsnosrap Рік тому +1

      @@RezaDorrani Thank you Reza! I heard from someone already that there is a known issue with triggers not working with environment variables. Either something has changed since a year ago when you posted this video or the issue is intermitent (only on some solutions). Im going to start over from scratch and see if the problem persists. Thanks for the prompt response!

  • @itsybitszy
    @itsybitszy 3 роки тому +1

    Awesome it's

  • @andresgallegos3914
    @andresgallegos3914 3 роки тому +2

    Thank you so much for your videos. They are extremely helpful! Is there a way of doing this but with a SQL on prem data source instead of Sharepoint Lists?

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      Currently, data source environment variables only support SharePoint.

  • @lvimal2003
    @lvimal2003 2 роки тому

    Just a query, if we are using Site Data Source Environment variables, how the current user login will be taken for the Item Addition and Patching?

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Current logged in user logic would work as normal. No change there. User would need access to that SharePoint site.

  • @รถพรวนดินมิตซู

    Hi Reza, Can you advise, please? On the flow part, when you tried to add SharePoint site by clicking "+ Add a custom item" to pick parameters from dynamic content, I don't see the link of "Add a custom items" link under the Site Address. I already enabled "Experimental Features" under Settings of "View all Power Automate Settings". Thank you in advance.

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      That is not an experimental feature.
      Add a custom site addresses is a standard feature of flow.
      Might be some bug in your environment.
      You may want to create a ticket with MSFT.

  • @tpcun024
    @tpcun024 7 місяців тому

    Thanks a lot for this video. I have a question for you if possible. Is it possible to create a variable for a Microsoft form id and use it ? My idea was to create a first step when a form is submited and a second one to get the details. I have created an environment variable in my solution with the form id but wasn't able to use it in the two steps (the environment variable isn't displayed)

    • @RezaDorrani
      @RezaDorrani  7 місяців тому

      I have not tried this scenario but may be it is possible. I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

  • @LAXMIKANT1992
    @LAXMIKANT1992 3 роки тому +1

    Very good informative video.
    I have a question - Suppose I imported the managed solution in my test or prod environment from Dev one. Now I have to change some component or add some customization to the app. So do I have to repeat the process again like first change it it dev then export it to test and prod or it will be visible to the environment automatically? 🤔

    • @RezaDorrani
      @RezaDorrani  3 роки тому +2

      You will need to make updates in dev and re-export. There are azure devops pipelines that help in automating this.

  • @issacong6280
    @issacong6280 2 роки тому

    Hi Reza, I'm curious if we have deployed to another environment and we modify the original CDS table schema and redeploy to the same environment it will cause the error. How we can actually upgrade the table schema, for example one of the column is number type and we changed to text type.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Il be honest, I have not done much with solutions. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has ran into a similar issue.

    • @issacong6280
      @issacong6280 2 роки тому +1

      @@RezaDorrani thanks for your quick response!!!

  • @julien8979
    @julien8979 3 роки тому +1

    Thank you so much Reza for this great walkthrough on environment variables. I can understand if we used environment variables in the canvas app and we want to move the solution from dev to prod. it is not needed to re-add the datasource to the app and reconnect it to the form so it will avoid replacing datacards and we will not lose the datacards logic validations in the form right?

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      In an ideal world Yes. But I have noticed some challenges with these environment variables.

  • @cyrilborri6827
    @cyrilborri6827 2 роки тому +1

    Hi Reza so many thanks for all your tuto I'm learning so much with you thank you again.
    If you have time I'd like to ask you something...
    Is that possible to do the same things you do with solution in differents environment than in the same environment ?... One application for two users with differents sharepoint lists : how can I do the same kind of Environement Variables but in the same environnement?....

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      You can create multiple environment variables - one for each type of list.
      It could be used in same or different environments.

  • @edjk6278
    @edjk6278 2 роки тому

    While building flows in Power Automate will environment variables also be created by default? Or is this feature only available in power apps?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Flows use connection references when built in solution context. I will recommend reading documentation on connection references.

  • @SilentInferno
    @SilentInferno 2 роки тому

    Hi Reza, we just have a single environment and I'm simply trying to point my app to a different SharePoint site and list. Basically I made a copy of the list for testing, built my app using that test copy, and now I want to point the app to the production version of the list. How can I do that?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Simply change the environment variable to point to new list.

  • @rahullko28
    @rahullko28 2 роки тому

    Again Thanks was very useful, just wondering if we can use the environment variable within the Powerapps sendmailV2?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Possible but currently reading environment variable in Power App requires querying Dataverse.
      ua-cam.com/video/xCgIwP7EUw0/v-deo.html

    • @rahullko28
      @rahullko28 2 роки тому

      @@RezaDorrani Sorry I should have mentioned earlier but that will require a premium license which I want to avoid.

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      @@rahullko28 That is the only option for now. Better to use flow.

  • @MullangiLaxmi
    @MullangiLaxmi 5 місяців тому

    I followed all your instructions except I used the Patch function instead of SubmitForm. However, after importing the solution to another environment, I encountered a 'Network error when using Patch function: You don't have permissions to edit this row' error when attempting to create a new record. Please help me resolve this issue.

    • @RezaDorrani
      @RezaDorrani  5 місяців тому

      I have not come experienced the mentioned issue and hence not sure what is the cause or fix for it. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @TusharParekh
    @TusharParekh 3 роки тому +1

    Great Video! We used the same approach in our apps but after we export the solution and choose Sharepoint site and list from environment variables, it still somehow pulls data from old values. Not sure if this is a bug. Any idea?

    • @TusharParekh
      @TusharParekh 3 роки тому

      I am mainly referring to choice fields :)

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Thank You.
      If referring to Choices function for Choice fields, then yes, it is a bug currently.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      It's a bug.

    • @TusharParekh
      @TusharParekh 3 роки тому +1

      @@RezaDorrani Thanks for the reply. Good to know. I thought I was doing something wrong 😄

  • @yogeshm8344
    @yogeshm8344 11 місяців тому

    HI. Great Work!. I have one doubt about Environment Variable Secrets. have one custom connector i am passing Secret Value in Text is not working. Or only that azure key vault is possible to passing a client secret

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      AKV is the preferred option

    • @yogeshm8344
      @yogeshm8344 11 місяців тому

      @@RezaDorrani any other option?

    • @RezaDorrani
      @RezaDorrani  11 місяців тому

      @@yogeshm8344 I am not aware of any other option

  • @MsAmyrock
    @MsAmyrock 3 роки тому +2

    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.

    • @RezaDorrani
      @RezaDorrani  3 роки тому +2

      The process of moving solutions from one tenant to another is same as moving from one environment to another.
      To duplicate SharePoint sites and lists you would need to ensure that you create your lists via site designs feature in SPO.
      docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview
      You can even trigger site designs using flow. Long ago I had written an article on this - rezadorrani.com/index.php/2019/01/14/invoking-unlimited-actions-with-site-design-tasks-and-microsoft-flow/

    • @parwejp
      @parwejp 3 роки тому +2

      You can also make use of PnP provisioning templates. They work great if to be used by support team rather than end users. They are more powerful as well. For end users Site design make most sense.

    • @RezaDorrani
      @RezaDorrani  3 роки тому +3

      @@parwejp + 1 for PnP templates

    • @MsAmyrock
      @MsAmyrock 3 роки тому +1

      @@RezaDorrani thank you so much! I will look into this.

  • @sharepoint2936
    @sharepoint2936 2 роки тому

    very well explained and problem solving video for soliution import export, but i have one question at 8:50. in flow i am unable add env variable, or unable to find parameter option. it sows custom value and cant fine env var in it.... pls explain stucked here

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      Save flow. Edit again and see if it works.
      If still none shows up, then I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @sharepoint2936
      @sharepoint2936 2 роки тому

      @@RezaDorrani Thank u very much 👍 it works save & then try 👍👍👍👍

  • @KavitaSingh-oc5ku
    @KavitaSingh-oc5ku 3 роки тому

    Hi Reza
    I have only one environment in powerapp but my datasource has 3 different setup Dev, QA and Prod. I usually have to create 3 setup for this app but the link changes are hard to handle is there a better approach I can take? Need your advice...

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      You would need multiple environments to truly take advantage of environment variables and ALM.

  • @ThreeDigitIQ
    @ThreeDigitIQ Рік тому

    I cannot see any environment variables others have created and they cannot see or edit mine. Is there a way to share or change the owner of environment variables so everyone can use them?

    • @RezaDorrani
      @RezaDorrani  Рік тому

      The step taken for environment variables prior to exporting is important (shown in video).
      I have not come across this issue and hence not sure what is the cause for your issue. I recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @MrSardeshmukh
    @MrSardeshmukh 2 роки тому

    Thanks Reza for such valuable video and knowledge sessions.
    Still environment variables can be used only for SharePoint as a data source?

    • @RezaDorrani
      @RezaDorrani  2 роки тому +1

      You can check and see :)
      I believe Yes

  • @maitreyaroychoudhury9367
    @maitreyaroychoudhury9367 2 роки тому

    Hi Reza,
    I had a question, I have observed when I am passing a sharepoint site and sharepoint doc library as environment variables in a excel online connector (in power automate), I keep on getting 'Bad Request' error (observed only in excel online connector, for sharepoint or any other connector it works fine), but static address works fine. Could you please let me know if there a workaround for this?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Hi, I have not tried env variable with the excel online connector.
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @NandagopalB
    @NandagopalB Місяць тому

    Is there any way to change the app name while transferring the solution, for example in dev enviro my app name i create service desk UAT and when moving to Prd , the app name should change like Service desk PRD.

    • @RezaDorrani
      @RezaDorrani  Місяць тому +1

      I'm not aware of any option to do that

    • @NandagopalB
      @NandagopalB Місяць тому

      @@RezaDorrani okay, in just normal export and import of the app, it has option to change the name while importing but in the solution i don't see such options, unless we change the name before exporting the managed solution. May be this is a workaround but not a solution

    • @RezaDorrani
      @RezaDorrani  Місяць тому +1

      That would not be a solution.

  • @akmamardzuan3655
    @akmamardzuan3655 3 роки тому +1

    thank you for your amazing explanation
    I've try adding existing power automate flow into solution.
    but, the original flow in 'my flow' power automate was not there anymore.
    Thus, I copied back the flow and delete the solution. however, here come my problem. when I run the flow, it become redundant as run at two different places (my flow & solution).
    how can I turn off the flow in solution as it was not usable anymore?

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      Within solution, when you go to cloud flows, you should have option to turn them on or off.
      I will have to look at your solution in action to provide further guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @EmanueleFabbri
    @EmanueleFabbri 3 роки тому +1

    Hi Reza, I follow you from a long time, thank you very for your huge support! I have found a strange issue with this flow. If I try your example with a form I got a problem loading choices values. I mean that after that I have imported the solution on the new environment (in a different tenant that has no access to the original source!) the gallery work correctly but I get an access denied on loading choices values coming from the form. Analizing the call I've found that power apps is still searching the choices from the original source. Have you got the same situation? Do you know any possible workarounds? Thank you very much as always!

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      I have not tried this cross tenant. This is a new feature and has had quite a few bugs which have been fixed recently. This could just be one of them. I don’t think there are any workarounds. This is just a feature that should work out of the box.

    • @EmanueleFabbri
      @EmanueleFabbri 3 роки тому +1

      @@RezaDorrani Thank you for your response. In the meanwhile I made some tests. The problem is that when I open my App in a new tenant the App continues to reference the original list guid when loading data for the Choices function (whatching the invoke call I see that it search on the new site but with the guid of the original table and so it get 404 and the dropdown breaks). So I tried to remove the datasource from the App and then add it again using the environment variables and then the choices function finally got the correct table. By the way it seems that we still have to detach/atach datasources. Hopeful Microsoft will fix this bug soon because it is a very very useful feature when making app for thirdy party.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      @@EmanueleFabbri I had to do that initially for an App in the same tenant as well. Thanks for sharing all your findings. Im sure it will help a lot of folks who are reading the comments.

  • @MrMytubejc
    @MrMytubejc 3 роки тому

    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?

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Better option would be to have 3 environments in Power Apps. As you move from one env to another, you just need to update the env variable to the respective SharePoint site/list as shown in the video.

  • @russellcopeland6487
    @russellcopeland6487 3 роки тому

    Great video! Are environment variables supported for any other connector besides SharePoint? I can't seem to get it working for SQL Server.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      Data source environment variables only supports SharePoint for now

  • @arnabdharchoudhury3093
    @arnabdharchoudhury3093 2 роки тому

    Thank you for effort Reza, one thing I have noticed while using the sharepoint lists and sites in EV is that inside PowerApps under Data the data source EV always points towards the old data source. Let's say I start by putting my dev SPO site and list urls in the data source EVs and then migrate the solution to Test. Now I change the EV values as per my test SPO site and list urls and when I go inside PowerApps the data still points towards my dev URL values. I did a hard refresh, removed current and default values from the solution before exporting to Test but to no avail. Did you face something similar?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      I have not faced this. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @kiruthikas1073
      @kiruthikas1073 Рік тому

      ​@@RezaDorrani same happened in my case also

    • @RezaDorrani
      @RezaDorrani  Рік тому

      @@kiruthikas1073 Best to post your issue on the forums

  • @uw1985
    @uw1985 3 роки тому +1

    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.

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      I believe you need to update them from within the Solutions interface. Storing variables as env variables is a better option that SP list.

  • @vrchitode
    @vrchitode 3 роки тому +1

    Hello Reza, Thanks for this wonderful video. I am facing an issue with Choices in PowerApps.
    Choices('list name'.'choice type column')
    This statement is giving an error after import - list not found.
    Is there any issue?

    • @RezaDorrani
      @RezaDorrani  3 роки тому +1

      Data source env variables are in preview. I believe this is a known issue. Hopefully these will be fixed soon.

    • @Recker096
      @Recker096 3 роки тому

      @@RezaDorrani Hey Reza is there any update on this?

    • @RezaDorrani
      @RezaDorrani  3 роки тому

      @@Recker096 I am not following up on this. Best place to report this would be on the ideas board on the forums.

  • @simmyjer
    @simmyjer Рік тому

    Hi Reza,
    I have been encountering errors since deploying my App to a different environment. Do I also need to update the Environment Permissions or any permissions in general?
    These are the errors i encounter:
    1. Error when trying to retrieve data from the network
    2. Flow.run failed.....The server did not receive a response from an upstream server....

    • @RezaDorrani
      @RezaDorrani  Рік тому

      I have not experienced the mentioned issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

  • @McIlravyInc
    @McIlravyInc 2 роки тому

    How can I create an env variable (s) that I can use to update deep links in my flow emails?

    • @RezaDorrani
      @RezaDorrani  2 роки тому

      Video shows how to create environment variables for data source. You can create variable of type text as well and then use it in apps and flows. You can also check this video - ua-cam.com/video/Xo-TvZ9N3BM/v-deo.html