Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

Deployed solution - Environment Variable for SP Site reference broken in flows but not my app

Posted on 21 Nov 2024 22:37:13 by 280
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" }'.
  • rkirk2k Profile Picture
    rkirk2k 280 on 22 Nov 2024 at 17:03:46
    Deployed solution - Environment Variable for SP Site reference broken in flows but not my app
    That created a worse problem. What an absolute nightmare - Microsoft just keeps releasing these things before they are ready.
  • SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,035 on 22 Nov 2024 at 01:43:29
    Deployed solution - Environment Variable for SP Site reference broken in flows but not my app
    Did you created environment variables for the lists as well?
     
     

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

October 2024 Newsletter…

October 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #4 How to Conntact Support…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,061

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,795

Leaderboard