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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard