I have a solution with an app and four flows. I deployed them fine several times with hard coded SP Site URL (in the app connection to data AND in the flows' action references).
Then, we added a Production environment. So, I created an environment variable for Site. Prior to deployment, I cleared the "Current Value" and set not to carry it forward. I set the "Default Value" to the Production environment URL.
Post deployment, the app operates and connects perfectly to the correct list. However, the flows all show turned off. When I go to turn them on I get an error that indicates the list is not found and they won't turn on. I go in to check (and maybe edit the flow if need be), and the reference to the environment variable is correct (and remember, it works for the app). The list name shows correctly.
Any ideas?
Here is the error I'm seeing...
Flow save failed with code 'MultipleErrorsOccurred' and message 'The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'NotFound'. This may indicate invalid input parameters. Error response: { "status": 404, "message": "List not found\r\nclientRequestId: 6f0ca7a3-25b9-4cc1-bc88-6f7096e0e67e\r\nserviceRequestId: e82f66a1-80c7-0000-44a6-f885116259b8" };The dynamic operation request to API 'sharepointonline' operation 'GetTable' failed with status code 'NotFound'. This may indicate invalid input parameters. Error response: { "status": 404, "message": "List not found\r\nclientRequestId: 6f0ca7a3-25b9-4cc1-bc88-6f7096e0e67e\r\nserviceRequestId: e82f66a1-90c9-0000-44a6-f3e8eeb5b5ea" }'.