我在excel中创建了2个odata查询,从2个sharepoint列表中获取数据。然后我附加了2个查询,将两个列表中的数据追加到一个中。现在我有三个查询,列表1的查询1,列表2的查询2和附加数据的查询附加。我进入连接设置并选中每次打开excel文件时刷新查询的选项,以便从列表中获取最新数据。 Query Properties screenshot。 我保存了文件并在sharepoint库上进行了上传。现在每当我在excel online中从sharepoint打开文件时,我都会收到错误“外部数据刷新失败”。error message。 如果按下确定,数据不会刷新。
奇怪的是,如果我下载excel文件并在本地打开并刷新数据,则不会出现此问题。
答案 0 :(得分:0)
You need to create a connection in the Secure Store and tie the credentials to later be used by your Excel spreadsheet.
Once you supply the user account and password in the Secure Store, you will need to get back to your Excel spreadsheet and change the authentication settings to match the one from the Secure Store, enter it on the Application ID.