Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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 

  • abouchaalaBAIT Profile Picture
    930 Super User 2025 Season 1 on at
    Re: Environment variables do not work when migrating an existing flow into the solution

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow