
I have created a solution that I need to export to a different SharePoint tenant. I have created environment variables for my SharePoint site, lists and libraries. A couple of my SharePoint lists are 'classic' lists. During creation of environment variables these lists do not show in the Current Value dropdown.
I am able to create these environment variables with the list name entered as text in the Current Value dropdown. I can then reference this environment variable in my Flows, but they aren't listed when trying to add to my Power App. I have tried entering the list URL and list GUID instead but they still don't show up in my app. I have turned on 'Create Environment Variables Automatically' in the app settings and I'm adding the environment variables through the advanced tabs.
All my other list environment variables are available for selection (the ones where the list current value was selected from a dropdown during creation).
Is there a known issue adding classic lists to environment variables and accessing them in Power Apps? I have changed the display of these lists to the modern style in SharePoint settings but they still don't show as available in the current value dropdown when creating environment variables. I have full control permissions as site owner. The lists are set to be visible in the Quick Launch.
I could create the solution without these lists added to my Power App, export as Unmanaged and edit them after install as a last resort. It is perplexing that they work fine when referenced in Power Automate but not listed in Power Apps.
I believe the issue is that the list I am trying to create an environment variable for is a 'Task List' added through classic apps. Whilst Power Automate recognises the environment variable with the Task List, Power Apps does not.