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 / Sharepoint Connections...
Power Apps
Answered

Sharepoint Connections broke and cannot be removed

(0) ShareShare
ReportReport
Posted on by 5

I have a canvas app that connects to 3 SharePoint sites. I started getting inconsistent problems with the app not returning data from the lists, so I was looking at the connections. The SharePoint icon is no longer next to the connections, but clicking Edit does open the lists. I figured the weird issues and lack of SharePoint icon meant that I should remove and reattach the connection. When I try to remove the connection I get the following error and the whole app closes.

 

We are sorry, something went wrong

WebAuthoring abnormal termination.
Client date/time: 2022-10-20T16:26:51.577Z
Version: 3.22101.23 (v3.22101.23.238119988)
Session ID: 8d7afff3-65be-4aa1-80a0-7945797f3632
description: {"exception":{"message":"XMLHttpRequest error(string). {\"traceLevel\":3,\"message\":\"An error occurred in Document API document.removedatasourceasync, activity id 441090ed-a3df-41da-a3c3-5aac2abea208\",\"status\":500}","name":"UnhandledError","_isCritical":true,"detail":{"exception":{}}},"error":"[circular]","promise":{"_oncancel":null,"_nextState":null,"_state":{"name":"error","enter":"[function]","cancel":"[function]","done":null,"then":null,"_completed":"[function]","_error":"[function]","_notify":"[function]","_progress":"[function]","_setCompleteValue":"[function]","_setErrorValue":"[function]"},"_value":"[circular]","_isException":false,"_errorId":53,"done":"[function]","then":"[function]"},"id":53,"setPromise":"[function]"}
stack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.removedatasourceasync, activity id 441090ed-a3df-41da-a3c3-5aac2abea208","status":500}
at t [as constructor] (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:264311)
at new t (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:362917)
at @pa-client/appmagic-webauthoring.e._translateError (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:150823)
at @pa-client/appmagic-webauthoring.e._raiseTerminalError (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:150104)
at @pa-client/appmagic-webauthoring.e._unhandledException (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:150017)
at e.<anonymous> (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:148619)
at https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:453971
at Object.throw (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:454077)
at u (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:452851)
at Object.q [as _notify] (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/openSource/modified/winjs/js/base.js?v=3.22101.23.238119988:2:38070)
errorNumber: 0
errorMessage: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.removedatasourceasync, activity id 441090ed-a3df-41da-a3c3-5aac2abea208","status":500}
callStack: UnhandledError: XMLHttpRequest error(string). {"traceLevel":3,"message":"An error occurred in Document API document.removedatasourceasync, activity id 441090ed-a3df-41da-a3c3-5aac2abea208","status":500}
at t [as constructor] (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:264311)
at new t (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:362917)
at @pa-client/appmagic-webauthoring.e._translateError (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:150823)
at @pa-client/appmagic-webauthoring.e._raiseTerminalError (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:150104)
at @pa-client/appmagic-webauthoring.e._unhandledException (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:150017)
at e.<anonymous> (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/AppMagic.WebAuthoring.js?v=3.22101.23.238119988:2:148619)
at https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:453971
at Object.throw (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:454077)
at u (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/js/Core.js?v=3.22101.23.238119988:2:452851)
at Object.q [as _notify] (https://authoringcdn-prodwusil104.azureedge.net/v3.22101.23.238119988/studio/openSource/modified/winjs/js/base.js?v=3.22101.23.238119988:2:38070)

 

 Any ideas? 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ScottSevert 

    Did you happen to turn on the Named Formulas feature? (or any other experimental feature?)

     

    If so, turn it off.  I have seen the same thing with that feature on.

     

    I hope this is helpful for you.

  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    I have no first-hand experience with this particular error, however, when things go weird like this I would recommend 2 things. Try rolling back a version or 2 to see if that fixes things. Sometimes something gets corrupt and you just need to go back to a non-corrupted version. Sometimes I have had apps that just became unstable and I had to totally rebuild them. A real bummer but sometimes that's the only remedy. 

  • ScottSevert Profile Picture
    5 on at

    That fixed it!

    Named Formulas is going to be very nice once they work the bugs out. 🙄

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard