Copilot for Microsoft 365 Tech Accelerator
Feb 28 2024 07:00 AM - Feb 29 2024 10:30 AM (PST)
Microsoft Tech Community

Refresh all connections button click on excel online gives an error

Copper Contributor

We have configured an excel file with a public OData feed on excel 2016 desktop. The data is loaded into the sheet from Queries & Connections tab. Refresh works fine here. This file is uploaded on sharepoint which is then opened with excel online.

When we do "Refresh All Connections" on excel online we get an error as shown in the screenshot. The technical details of the error are also shared below.

Can you guide us on what could be the issue with refresh?



Technical details


Connection: Query - PersonDetails Error: COM error: Microsoft.Sql.Analysis.ASOnPremisesDataAccess, Failed discovery for connection string provider=Microsoft.Mashup.OleDb.1;data source=$Workbook$;location=PersonDetails;extended properties="UEsDBBQAAgAIAICY71BUwQxrpgAAAPgAAAASABwAQ29uZmlnL1BhY2thZ2UueG1sIKIYACigFAAAAAAAAAAAAAAAAAAAAAAAAAAAAIWPMQ6CMBhGr0K605YKashPGVwlMSEaV1IqNEIxtFju5uCRvIIkiro5fi9veN/jdod0bBvvKnujOp2gAFPkSS26UukqQYM9+WuUctgV4lxU0ptkbeLRlAmqrb3EhDjnsFvgrq8IozQgx2ybi1q2BfrI6r/sK21soYVEHA6vGM7wiuEoipY4DAMgM4ZM6a/CpmJMgfxA2AyNHXrJpfb3OZB5Anm/4E9QSwMEFAACAAgAgJjvUA/K6aukAAAA6QAAABMAHABbQ29udGVudF9UeXBlc10ueG1sIKIYACigFAAAAAAAAAAAAAAAAAAAAAAAAAAAAG2OSw7CMAxErxJ5n7qwQAg1ZQHcgAtEwf2I5qPGReFsLDgSVyBtd4ilZ+Z55vN6V8dkB/GgMfbeKdgUJQhyxt961yqYuJF7ONbV9Rkoihx1UUHHHA6I0XRkdSx8IJedxo9Wcz7HFoM2d90Sbstyh8Y7JseS5x9QV2dq9DSwuKQsr7UZB3Fac3OVAqbEuMj4l7A/eR3C0BvN2cQkbZR2IXEZXn8BUEsDBBQAAgAIAGw071DdiFNqFgEAAO4BAAATABwARm9ybXVsYXMvU2VjdGlvbjEubSCiGAAooBQAAAAAAAAAAAAAAAAAAAAAAAAAAABtj81qwzAQhO8Gv4PQyQZjN+2twYdSE+ilKXXIxZii2pvEIEtGWhlKyLtXstSWlOign9nVfLMaOhykILU/V+s4iiN9Ygp68gZKS1EBsoFrUhIOGEfErloa1YFVthVDlm8A+oSeECf9WBQa1Dx0oHPZu6JUx2L/UCydfs/13BU0I8JwnpHmZZw4jCCQuQAlvc/vaJtmnnQV4QPZJ3dYzz83r2yEkl710KwejoKhUbay9NP20jhsGyyfDMp3GOUM/bPkZhR6ZS197XdCt9DKO+eQb5Qc94wbSG7ksSNUcGCGo7dzoezPf7Ha1BsP4g/gzX2WECXBLMhB2B52XxM4+Yz2QgJyuSvopOrDgw8aL6ml/BBuzLn+BlBLAQItABQAAgAIAICY71BUwQxrpgAAAPgAAAASAAAAAAAAAAAAAAAAAAAAAABDb25maWcvUGFja2FnZS54bWxQSwECLQAUAAIACACAmO9QD8rpq6QAAADpAAAAEwAAAAAAAAAAAAAAAADyAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQAAgAIAGw071DdiFNqFgEAAO4BAAATAAAAAAAAAAAAAAAAAOMBAABGb3JtdWxhcy9TZWN0aW9uMS5tUEsFBgAAAAADAAMAwgAAAEYDAAAAAA==". A connection could not be made to the data source with the DataSourceID of '19273d50-a993-4e06-813c-a6675b1d7d94', Name of 'Query

PersonDetails'. An error occurred while processing table 'PersonDetails'. The current operation was cancelled because another operation in the transaction failed.
Learn more about data refresh



4 Replies


Power Query refresh is not supported by Excel Online. Perhaps something of this  works, but I have no such experience.


Alternatively you may load data to data model through PowerPivot connector and return result back using linked-back tables.

@Sergei Baklan - Thanks for the reply. 

> Power Query refresh is not supported by Excel Online

Ok. I could not find any official documentation stating that but I could get to this forum post.


> Perhaps something of this  


Thanks for sharing the link. According to this, we need to create a ODC file from the OData service and a custom data provider. Will check more on it.


> Alternatively you may load data to data model through PowerPivot connector and return result back using linked-back tables.


I didn't completely follow on how would it help to refresh the excel data when it changes in the source which is the OData feed in my case.



Ever get an answer? I'd like to be able to refresh a spreadsheet I use in Sharepoint and use it in reports elsewhere.

@David Jenkins Still not available. Now in Excel for web you may see list of queries in right pane, but so far not refresh them.