Announcements
Hello everyone,
I have a Canvas app in Power Apps with a SharePoint list as the data source. I imported it into a new environment after duplicating the site. Now the issue is that the new app is still pointing to the old SharePoint site.
How can I make it point to the new site?
Thank you.
You should use Environment Variables for the SharePoint site URL and list instead of hardcoding it.
Store the site URL and list in two different environment variables inside a solution, then set the correct value in each environment. This way, when you import the app, it automatically points to the new site.
This is the recommended ALM approach in Microsoft Power Apps and avoids having to reconnect manually every time.
If my reply helped you fix the issue, you can mark it as a Verified answer so the post is closed and easier for others to find. And if it was just helpful in any way, feel free to give it a Like ♥.
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 549 Most Valuable Professional
Kalathiya 225 Super User 2026 Season 1
Haque 224