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 / Power automate flow in...
Power Automate
Answered

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

(0) ShareShare
ReportReport
Posted on 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




Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @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?

     

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @iol as discussed,

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

     

  • iol Profile Picture
    3 on at

    Thank you very much Sudeep, that was very helpfull 👍

     

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