{"id":164,"date":"2018-07-18T08:39:30","date_gmt":"2018-07-18T08:39:30","guid":{"rendered":"http:\/\/4us2use.at\/?p=164"},"modified":"2019-03-07T14:37:25","modified_gmt":"2019-03-07T14:37:25","slug":"sharepoint-excel-data-refresh-with-o365-pro-plus","status":"publish","type":"post","link":"http:\/\/4us2use.at\/?p=164","title":{"rendered":"SharePoint Excel Data Refresh with O365 Pro Plus"},"content":{"rendered":"<p>My environment:<br \/>\n<span style=\"font-size: 1rem;\">&#8211; SharePoint on-prem 2013<br \/>\n&#8211; Office Online Server<br \/>\n<\/span> <span style=\"font-size: 1rem;\">&#8211; Excel Office Pro Plus (2016)<br \/>\n&#8211; Data source = SharePoint list<\/span><\/p>\n<p>Problem Description:<\/p>\n<p>One day I wasn&#8217;t anymore able to auto refresh my SharePoint embedded charts that pulled data from SP lists.<br \/>\nI had to do some research until I found that it&#8217;s a combination of my new Excel version and the Office Online server. Due to changes in the security model, the standard settings didn&#8217;t work anymore.<\/p>\n<p>Solution:<\/p>\n<ol>\n<li>Enable &#8220;From OData Data Feed (Legacy)&#8221; in the Excel options on the &#8220;Data&#8221; tab<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-165\" src=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/Excel-Data-Setting-300x164.png\" alt=\"\" width=\"300\" height=\"164\" srcset=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/Excel-Data-Setting-300x164.png 300w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/Excel-Data-Setting.png 561w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>In Excel on the Data tab click on &#8220;Get Data &#8211; Legacy Wizards &#8211; From OData Data Feed (Legacy)<\/li>\n<li>Connect to your site adding <strong>\/_vti_bin\/listdata.svc<\/strong> to your URL<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-166\" src=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard1-300x211.png\" alt=\"\" width=\"300\" height=\"211\" srcset=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard1-300x211.png 300w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard1-768x539.png 768w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard1.png 812w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>on the next page select the list where you want to pull data from<\/li>\n<li>now on the last wizard page it&#8217;s very important, that you use a stored account instead of Windows authentication (create on in &#8220;Secure Store Service&#8221; &#8211; <a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/administration\/use-excel-services-with-secure-store\">Link<\/a>)<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-187\" src=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard2-1-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard2-1-300x225.png 300w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard2-1-768x577.png 768w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard2-1-1024x769.png 1024w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataConnectionWizard2-1.png 1135w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<\/ol>\n<p>Now you can go on creating your charts and then embed it in SharePoint with the Excel web part.<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-171\" src=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataRefresh-300x208.png\" alt=\"\" width=\"300\" height=\"208\" srcset=\"http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataRefresh-300x208.png 300w, http:\/\/4us2use.at\/wp-content\/uploads\/2018\/07\/DataRefresh.png 503w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\nHave fun!<\/p>\n<p>If that still doesn&#8217;t work, some other things to check:<br \/>\n&#8211; check, if the SecureStoreService is set to type &#8220;Individual&#8221;<br \/>\n&#8211; In the members section add the FQDN$ (if on-prem) of the OOS servers<br \/>\n&#8211; in OOS configuration make sure -AllowHttpSecureStoreConnection is set to TRUE<br \/>\n&#8211; in the c2wtshost.exe.config (under path\u00a0C:\\Program Files\\Windows Identity Foundation\\v3.5\\) make sure, that following line is NOT commented:<br \/>\n&lt;add value=&#8221;NT AUTHORITY\\Network Service&#8221; \/&gt;<br \/>\n(restart OOS service)<br \/>\n&#8211; make sure, all BIServers are registered in OOS<br \/>\nNew-OfficeWebAppsExcelBIServer\u00a0\u2013ServerId\u00a0YourSQLServer\\POWERPIVOT<\/p>\n<span id=\"post-ratings-164\" class=\"post-ratings\" data-nonce=\"2751147768\"><img id=\"rating_164_1\" src=\"http:\/\/4us2use.at\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"1 Star\" title=\"1 Star\" onmouseover=\"current_rating(164, 1, '1 Star');\" onmouseout=\"ratings_off(5, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_164_2\" src=\"http:\/\/4us2use.at\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"2 Stars\" title=\"2 Stars\" onmouseover=\"current_rating(164, 2, '2 Stars');\" onmouseout=\"ratings_off(5, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_164_3\" src=\"http:\/\/4us2use.at\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"3 Stars\" title=\"3 Stars\" onmouseover=\"current_rating(164, 3, '3 Stars');\" onmouseout=\"ratings_off(5, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_164_4\" src=\"http:\/\/4us2use.at\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"4 Stars\" title=\"4 Stars\" onmouseover=\"current_rating(164, 4, '4 Stars');\" onmouseout=\"ratings_off(5, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/><img id=\"rating_164_5\" src=\"http:\/\/4us2use.at\/wp-content\/plugins\/wp-postratings\/images\/stars\/rating_on.gif\" alt=\"5 Stars\" title=\"5 Stars\" onmouseover=\"current_rating(164, 5, '5 Stars');\" onmouseout=\"ratings_off(5, 0, 0);\" onclick=\"rate_post();\" onkeypress=\"rate_post();\" style=\"cursor: pointer; border: 0px;\" \/> (<strong>1<\/strong> votes, average: <strong>5.00<\/strong> out of 5)<br \/><span class=\"post-ratings-text\" id=\"ratings_164_text\"><\/span><\/span><span id=\"post-ratings-164-loading\" class=\"post-ratings-loading\"><img src=\"http:\/\/4us2use.at\/wp-content\/plugins\/wp-postratings\/images\/loading.gif\" width=\"16\" height=\"16\" class=\"post-ratings-image\" \/>Loading...<\/span>\n","protected":false},"excerpt":{"rendered":"<p>My environment: &#8211; SharePoint on-prem 2013 &#8211; Office Online Server &#8211; Excel Office Pro Plus (2016) &#8211; Data source = SharePoint list Problem Description: One day I wasn&#8217;t anymore able to auto refresh my SharePoint embedded charts that pulled data from SP lists. I had to do some research until I found that it&#8217;s a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/4us2use.at\/?p=164\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SharePoint Excel Data Refresh with O365 Pro Plus&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"http:\/\/4us2use.at\/index.php?rest_route=\/wp\/v2\/posts\/164"}],"collection":[{"href":"http:\/\/4us2use.at\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4us2use.at\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4us2use.at\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4us2use.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":8,"href":"http:\/\/4us2use.at\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions"}],"predecessor-version":[{"id":225,"href":"http:\/\/4us2use.at\/index.php?rest_route=\/wp\/v2\/posts\/164\/revisions\/225"}],"wp:attachment":[{"href":"http:\/\/4us2use.at\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4us2use.at\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=164"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4us2use.at\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}