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

Community site session details

Session Id : vlG5q1l9+uMgkwPEnN3nCr
Power Automate - General Discussion
Answered

Power automate flow in a solution using Environment variables - I cannot add or update sharepoint item

Like (0) ShareShare
ReportReport
Posted on 21 Mar 2024 14:01:02 by 3

Hi all,

I have a flow that is in a Power Solution and I have environment variables setup for my sharepoint site and sharepoint lists, so I in theory can transport the solution to another environment using ALM. And that works fine, when the flow retrieves data from the sharepoint lists.

However I cant make it work when the flow  UPDATES or CREATES a sharepoint item. 
It seems that when environment variables are used, it can not retrieve the sharepoint columns, and then I can not enter the information I need to enter in the specific fields. 
It works fine if I setup the Update or create Item directly to the Sharepoint list, but then I will need to update them manually when I move the solution to the PROD environment through ALM.

Things I tried to make it work, but didnt help:
- first setting the Update Item directly to the list, editing the fields, and then switching it to the environment variables
- search for a 'patch' function in flows, to see if I could update a sharepoint item, or create a new, that way (as I can in Apps).

I hope someone has a fix or some advice for this issue 🙂

Best regards


Ingrid




I have the same question (0)
  • iol Profile Picture
    3 on 12 Apr 2024 at 07:46:20
    Re: Power automate flow in a solution using Environment variables - I cannot add or update sharepoint item

    Thank you very much Sudeep, that was very helpfull 👍

     

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 11 Apr 2024 at 22:51:38
    Re: Power automate flow in a solution using Environment variables - I cannot add or update sharepoint item

    @iol as discussed,

    You need to reference the variables from the dynamic selector (not the expressions window)

     

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on 21 Mar 2024 at 22:42:52
    Re: Power automate flow in a solution using Environment variables - I cannot add or update sharepoint item

    @iol ,

    Looks like there is something wrong in the way you are setting the variables.

    Would you like to show me on a Teams call?

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard
Loading started
Loading complete