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 : CGfa2S62KOPrxKmLltzX8X
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




  • 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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2