Excel prevents add in from reading localStorage/sessionStorage

Copper Contributor

Hello, I noticed an issue with add-in's trying to read localStorage/sessionStorage when using Excel. I wrote an add-in about a year and a half ago using yeoman office.js and it's been working for quite a while now. A couple weeks ago, a client that uses the add in reported some issues with using the add in and the only thing I could see was this warning in the devtools console:

 

Tracking Prevention blocked access to storage for https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js

 

At first, this was only seen to happen on her computer, but as of yesterday I started having the same issue even when running my dev environment locally on my computer. I tried following this article to update MS Edge settings https://docs.microsoft.com/en-us/microsoft-edge/web-platform/tracking-prevention. Unfortunately, setting Tracking prevention to Basic does not change anything and neither does adding appsforoffice.microsoft.com and the other domains to allow javascript to work. 

There seems to be an update with Excel since I was not able to right click on any of the panes and click "inspect element" before. As soon as I was able to do this was also the same time I started having this issue. Is this a bug in Excel not being able to read the Tracking protection settings from Edge or is there somewhere in Excel that I can set these permissions that I overlooked? 

0 Replies