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).
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).
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: '.
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.
----------------------------------------------------------
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.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional