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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error when trying to r...
Power Apps
Answered

Error when trying to retrieve data from the network: failed: Something went wrong

(1) ShareShare
ReportReport
Posted on by 19
Encountering the error in the title.
 
Before the error:
  • Imported app from another tenant
  • Changed data source to a duplicate of the original data source
  • Aligned all objects in the app to work with the new data source
  • No errors while in edit mode
  • App works when played from edit mode
  • App initially worked when played from Apps menu and when played from a share link
The error:
  • Embedded app into a SharePoint site using the Power Apps connector
  • App threw the error “Error when trying to retrieve data from the network: <list name> failed: Something went wrong” when accessed via SharePoint
What I tested:
  • Tried to play the app from the Apps menu again, this now throws the same error
  • App still works when played from edit mode and shows no errors in edit mode
  • Other apps work fine still
  • Confirmed that the app only uses a single data source, which is in the same tenant and environment as the app
  • Ensured that permissions for the app are the same as permissions for the data source
  • Removed the app from the SharePoint site, but the issue persisted
  • Deleted the data source from the app then re-added it, but the issue persisted
  • Created a test app with the same data source, this new app did not receive the error but also could not connect to the data source
  • I do not have the ability to clear the cache as this is restricted by my organization
Categories:
I have the same question (1)
  • Michael E. Gernaey Profile Picture
    53,493 Super User 2025 Season 2 on at
    Hi
     
    uggg my macros don’t work. 
     
    please do this
    1. go to the Apps tab on the main page of environment
     
    2. find your app and click the … then select Monitor
     
    3. once it loads, select Play Published Version
     
    4. Switch tabs and run your app and cause the error
     
    5. Go back to the Monitor Tab
     
    6. in Filter top right type Error
     
    7. look through each error. On the 4th Tab of the fly out window when you select the error lines, please open the Body and Header sections. 
     
    the error should tell you what permission etc is. Missing. 
     
    feel free to share and I can help you fix it 
     
    P.S. when you launch the app itself does it ask you to Allow the use of the Connecrion? 
     
     
  • Verified answer
    OB-22071659-0 Profile Picture
    19 on at
    Found a bizarre solution unlike other forum answers, although it really boils down to "turn it off and back on again".
     
    I exported the data source (SharePoint list) to CSV with schema:
    This downloaded a CSV file.
     
    I deleted the list from SharePoint, then imported the list back into SharePoint using the CSV.
     
    Went into my app, deleted the old list as a data source, and added the new one. Being that the new list is just a copy of the old one, this caused no problems. Saved the app and went back to power apps menu. I played the app from the menu.
     
    I got a popup asking for permission to access the list. I clicked "Allow". The app worked finally.
     
    I kept the app running in another tab while I opened my SharePoint site and embedded the app into it. This gave me the error again. However, it also gave me another popup on the app running in the other tab. I clicked "Allow" again and the error in the embedded app disappeared and the embedded app began working.
     
    My opinion: when embedding a Power App into SharePoint, the app might need to ask a second time for permission to use the data source. An embedded app in SharePoint isn't capable of giving you that little permission request popup, so you need the app already running elsewhere to get the necessary popup and give permissions. If you don't give permissions the second time, for security reasons it revokes all permissions previously granted.
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard