web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I change sharep...
Power Apps
Unanswered

How do I change sharepoint URL

(0) ShareShare
ReportReport
Posted on by 418

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?

Categories:
  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    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

  • SJ-15052312-0 Profile Picture
    418 on at

    @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.  

  • WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @samuelJ ,

    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.

     

    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

  • RedBeardDev Profile Picture
    59 on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard