I have a Canvas App with multiple Flows in a Solution. Data sources are multiple SharePoint lists.
I exported and imported the App successfully from DEV to UAT and then was working on my App in the DEV Environment and tried changing the Data source to another set of SP lists to test the App's behavior and when I changed back to the original Data sources, I must have forgotten to click to use the existing Environment Variable during the reconnection process and thus system created a second Environment variable for my SP Site. I deleted the recently created Environment Variable thinking it was a redundant one. But system still is connected to the deleted one it seems and now I am unable to publish my App.
Is there a way to fix this mess I just created?
Removing all the data connections and reconnecting to all the lists again with selecting the option to use the existing Environment would fix it? or the duplicate for the SP site would still give an issue?
Below is my error Code:
The request failed with error: '{"error":{"code":"0x8004f036","message":"The dependent component EnvironmentVariableDefinition (Id=ggdc_shared_sharepointonline_0a812ac0850642cf985c610a010058f5) does not exist. Failure trying to associate it with CanvasApp (Id=909457bf-6bcb-4e74-a51e-6378f6940b56) as a dependency. Missing dependency lookup type = EntityNameLookup."}}'. The correlation Id is 'b3921834-a088-4c4c-8b97-677337aa3ffd'.
Session ID: bfd46369-af69-4e7f-9113-d1833c97a42e
Any help is appreciated.
SueA