As per the recent addition of SP lists to be changed as per the environment variables as explained here - https://powerapps.microsoft.com/en-us/blog/announcing-data-source-environment-variables/
The migration process is not working as expected for me at all, I have done as follows:
In the existing app, I have added list connector with data source variables by enabling the app settings for the
Saved working Power apps app, and then removed variable values as explained in the above article
Imported the same solution into different environment with different SP site and list values
However, when I run the application, it still adds values in the site and list which was mentioned in the previous environment. I have re-checked the environment variables into new environments which are all as expected with different SP list and site. Unfortunately it's not changing the functionality for the different list for me..
Can you please help me what's wrong for me in the migration?
And now I am facing the error after migration that list does not exist- I am not sure if this feature is in preview or not functional at present? can you please help me with this?
Moreover, It's only working for the single SP site, It does not identify if SharePoint Site is changed in the data source variable, it keeps referring the old SP site.
I'm having a similar issue - except with the list in an environment variable. My app which is using environment variables for SharePoint site and SharePoint list is showing data from the old list reference in Play mode (I've saved and published multiple times), but in studio mode it shows the correctly updated Datasource. Can you confirm if this feature is broken, or are we using it incorrectly?
Additionally, adding site URL's to the environment variable datasource manually does not work even if I have the correct permissions - I must visit the SharePoint site first for it to show up as a suggested site and choose it from the dropdown.
As per my conversation with MS support team, they have confirmed that this feature is currently in preview and will be generally available after 2-3 months, therefore some of the parts/scenario will not work at present.
Planning to look back on this after 2 months.
Hope this helps!
Same exeprience here. I have sharepoint site and list as Datasource environemnt variable.
Once imported in destination, even though varibles are set correctly, Powerapp kept referrring old site (site at the source) I had made sure that "CurrentSite" value is removed before exporting.
Not sure if thi should be used, if not what are the options to move solutions between tenants.
I'm also experiencing the same issue. My canvas app points to Old data source when the solution is imported into the new environment.
Did anyone find a solution for this issue?
I have a ongoing ticket for this with Microsoft. While they have acknowledge that its a bug. Its been mre than 2 months now and I have been asked to be patient. So no update on this.
Hey people, I thought I had the same issue as all of you. Though it is a little better 🤔
After a successful environment migration of my PowerApps Solution, datasources still visual refer to the previous data sources and also the "Edit data" option navigates to the previous data source.
Nevertheless when I run the app in designer it shows the data of the tables in the new environment! 👍
It does not run in app mode and ends with the error "List not found" 👎
This is awkward and confusing, though on the other hand content wise functional. Look to be an easy fix while it seems they just do not replace all the required fields to finish the job.
Keep up to date with current events and community announcements in the Power Apps community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!