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 / Environment variables ...
Power Automate
Unanswered

Environment variables do not work when migrating an existing flow into the solution

(0) ShareShare
ReportReport
Posted on by 54

Hello, I hope everyone is well!

 

I'm currently trying to migrate an existing flow into a solution, but I'm facing some problems. I ask you to try to replicate, please.

Problem: When using the environment variables created in the Sharepoint "Update Item" action, the information in the new list does not load.

 

Steps to replicate:
1- Create environment variables for a SharePoint list.
2- Add an existing flow into a solution (the flow must have a Sharepoint "Update Item" action).

msedge_5IBylxmyx9.png
3- Replace the "Site Address" and "List Name" fields for the environment variables (here you should already notice that the list fields do not update).

msedge_GOJUlG0vfp.png
4- Try saving the flow (to check for errors).

 

Error below that I receive when trying to save and the list does not update to the new fields. When changing in "Get Items" everything goes well.

 

Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'DynamicOperationRequestClientFailure' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'NotFound'. This may indicate invalid input parameters. Error response: {\r\n \"status\": 404,\r\n \"message\": \"List View Not Found\\r\\nclientRequestId: fcfc0095-e4e8-4d4b-9644-74652a66725e\\r\\nserviceRequestId: fcfc0095-e4e8-4d4b-9644-74652a66725e\"\r\n}'."}}". Code: 0x80060467 InnerError: '.

 

msedge_kfp3xygRaf.png 

Categories:
I have the same question (0)
  • abouchaalaBAIT Profile Picture
    932 Moderator on at

    I reproduced it without any issue. I think that you copied/pasted the env variable but you should select custom value instead. 

    It should look like this.

    abouchaalaBAIT_1-1697546030508.png

    ----------------------------------------------------------
    If I have answered your question, please mark your post as Solved. 🆗✔️
    If you like my response, please give it a Thumbs Up. 👍
    You can accept more than one post as a solution.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard