Announcements
How do I change a sharepoint URL for my data? We have a dev and prod env where it was working correctly. Then after a import and export of the app it overrode the URL. How do I change prod back to prod URL?
Hi @samuelJ ,
Disconnect the old list from your Data Sources and then connect the new one.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
@WarrenBelz In my code I am doing a LookUp() or Filter() function on my sharepoint list. Lets call the sharepoint list "My List". When I go to the data tap the URL is something like "https://MyCompany.sharepoint.com/sites/testDEV", that "DEV" isn't suppose to be there. If I go to add a new data source it adds as "My List_1". I just need to change the URL. It seems like adding does not as its not feasible to go through my whole app and change every instance to _1. If I misunderstood your instructions can you please provide step by step instructions as I can't figure that out.
If you delete the old list first (you will initially get errors) and if the new list has the same name and structure, when you re-connect the new one, all the errors should go away and you will be then able to proceed. I do it regularly and it works fine.
Should use environment variables, then you can fix outside the app
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 community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 409 Super User 2026 Season 2
Mohsin Ali 328
WarrenBelz 252 Most Valuable Professional